chiark / gitweb /
ucgi/: Return useful status codes when things go wrong.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 28 Mar 2016 22:27:56 +0000 (23:27 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 28 Mar 2016 22:32:36 +0000 (23:32 +0100)
It's simply wrong for the ucgi machinery to report status 200 OK when it
encounters trouble (e.g., the CGI program doesn't actually exist).
So report a useful status code as part of `error' or `syserror'.  We
assume that the latter is always a server-side error; the former might
be either, so we must annotate each call as appropriate.


No differences found