diff options
author | Lukas Fleischer | 2015-01-15 19:47:42 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2015-01-15 19:48:44 +0100 |
commit | ed7e3bc822856c30066a4ff0178033b22046fe96 (patch) | |
tree | d0cfb14346d8f14f5dbb0ae75fe5071013666b19 /ui-stats.h | |
parent | git: update to v2.2.2 (diff) | |
download | cgit-ed7e3bc822856c30066a4ff0178033b22046fe96.tar.gz cgit-ed7e3bc822856c30066a4ff0178033b22046fe96.zip |
Return proper HTTP response when accessing info/
Currently, when a user directly accesses the info command of a repository, we exit cgit without printing anything to stdout, bringing up error messages like "502 Bad Gateway" or "An error occurred while reading CGI reply (no response received)". Instead of bailing out, at least print the HTTP headers, including a reasonable error message. Reported-by: Janus Troelsen Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-stats.h')
0 files changed, 0 insertions, 0 deletions