monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 3c51452bf7eff5b8d0d9a7cce081764793fc68


From: monotone
Subject: [Monotone-commits-diffs] Revision 3c51452bf7eff5b8d0d9a7cce081764793fc6802
Date: Sun, 31 May 2009 08:17:59 +0200

-----------------------------------------------------------------
Revision: 3c51452bf7eff5b8d0d9a7cce081764793fc6802
Ancestor: bdbd0c36a142855d4ba14fe4404451b991109d83
Author: address@hidden
Date: 2009-05-31T05:36:27
Branch: net.venge.monotone.nuskool

Modified files:
        cmd_scgi.cc http.cc http.hh http_client.cc

ChangeLog: 

improve http protocol handler error reporting

* cmd_scgi.cc (scgi::connection): wrap a few function declarations; return http
  status codes from higher level read methods to match new superclass api;
  report missing content length and unknown scgi version errors with appropriate
  http status codes
  (process_request): return the status code from reading a request when that
  is the cause of a problem

* http.{cc,hh} (connection): return status codes from higher level read methods
  to report errors more clearly; in particular report missing content length
  headers with the appropriate status code
  (status::value): rename to ..
  (status::code): ... this; rename code member to value; add operator!= and more
  status code constants

* http_client.cc: remove unused Netxx using declarations; remove redundant Netxx
  qualifiers; wrap some long lines; update for http connection reader changes;
  remove stale comment


Attachment: txtB5dizISNRp.txt
Description: Diff [bdbd0c36a142855d4ba14fe4404451b991109d83] -> [3c51452bf7eff5b8d0d9a7cce081764793fc6802]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]