-----------------------------------------------------------------
Revision: 3c51452bf7eff5b8d0d9a7cce081764793fc6802
Ancestor: bdbd0c36a142855d4ba14fe4404451b991109d83
Author: [email protected]
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



monotone --db={your.database} diff 
--revision=bdbd0c36a142855d4ba14fe4404451b991109d83 
--revision=3c51452bf7eff5b8d0d9a7cce081764793fc6802
----------------------------------------------------------------------


_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs

Reply via email to