-----------------------------------------------------------------
Revision: 316f4361262834acbe9ae2c41758c5b73b5bd08e
Ancestor: c611e27f2c085ac72a9efc8e348ac11bd18d1aa9
Author: [email protected]
Date: 2009-01-29T06:04:02
Branch: net.venge.monotone.nuskool
Modified files:
Makefile.am cmd_scgi.cc http_client.cc http_client.hh
ChangeLog:
separate json message processing from http transport
* Makefile.am: add http.hh header
* cmd_scgi.cc: add namespace around connection type enum
(parse_scgi_headers): rename to ...
(parse_scgi_request): ... this and return an http request object
with uri, method and headers from request
(parse_http_headers): rename to ...
(parse_http_request): ... this and return an http request object
with uri, method and headers from request
(process_json_request): new function to process a json request wrapped in an
http request and return a json response wrapped in an http response
(process_transction): rename to ...
(process_request): ... this; remove json parsing; read an http request;
delegate processing to process_json_request; return an http response
* http_client.{cc,hh}: reorganize includes a bit;
(execute): replace string parameters with http request/response objects;
remove use of F formatting objects and write request directly to ostream;
(parse_http_status_line): store status values in http response object
(parse_http_header_line): fix header parsing; store headers in http response
object
(parse_http_response): store response in http response object; continue to
force connection close
(json_channel::transact): wrap json request in http request object; extract
json response from http response object
monotone --db={your.database} diff
--revision=c611e27f2c085ac72a9efc8e348ac11bd18d1aa9
--revision=316f4361262834acbe9ae2c41758c5b73b5bd08e
----------------------------------------------------------------------
_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs