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

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

[Monotone-commits-nodiffs] Revision 3c51452bf7eff5b8d0d9a7cce081764793fc


From: monotone
Subject: [Monotone-commits-nodiffs] Revision 3c51452bf7eff5b8d0d9a7cce081764793fc6802
Date: Sun, 31 May 2009 08:18:00 +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



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




reply via email to

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