Lines Matching refs:request
34 * - read the request header
35 * - rewrite the request's URI to use absolute URI
37 * - then read the rest of the request, and tunnel it to the
165 ** HTTP REQUEST AND REPLY
179 * request and the corresponding reply
182 HttpRequestType req_type; /* request type */
184 char* req_uri; /* the request URI */
344 HttpRequest* request;
368 http_request_free(conn->request);
419 /* read the first line of a given HTTP request. returns -1/0/+1 */
453 if (conn->request)
454 http_request_free(conn->request);
456 conn->request = http_request_alloc( method, uri, version );
457 if (!conn->request)
474 HttpRequest* request = conn->request;
496 if (http_request_set_reply(request, protocol, number, readable) < 0)
531 ret = http_request_add_to_last_header( conn->request, line );
545 if (http_request_add_header(conn->request, key, value) < 0)
559 HttpRequest* r = conn->request;
569 PROXY_LOG("%s: uh oh, not Host: in request ?", root->name);
593 HttpRequest* r = conn->request;
613 HttpRequest* r = conn->request;
988 PROXY_LOG("%s: request first line ok", root->name);
998 PROXY_LOG("%s: request headers ok", root->name);
1014 PROXY_LOG("%s: request sent, waiting for body",
1018 PROXY_LOG("%s: request sent, waiting for reply",
1033 PROXY_LOG("%s: request body ok, waiting for reply",
1074 PROXY_LOG("%s: reply sent, looping to waiting request",
1093 PROXY_LOG("%s: reply body ok, looping to waiting request",