[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision 316f4361262834acbe9ae2c41758c5b73b5bd0
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision 316f4361262834acbe9ae2c41758c5b73b5bd08e |
Date: |
Thu, 29 Jan 2009 07:07:56 +0100 |
-----------------------------------------------------------------
Revision: 316f4361262834acbe9ae2c41758c5b73b5bd08e
Ancestor: c611e27f2c085ac72a9efc8e348ac11bd18d1aa9
Author: address@hidden
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
txtXag1FYjnxo.txt
Description: Diff [c611e27f2c085ac72a9efc8e348ac11bd18d1aa9] -> [316f4361262834acbe9ae2c41758c5b73b5bd08e]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision 316f4361262834acbe9ae2c41758c5b73b5bd08e,
monotone <=