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 */
351 HttpRequest* request;
376 http_request_free(conn->request);
427 /* read the first line of a given HTTP request. returns -1/0/+1 */
461 if (conn->request)
462 http_request_free(conn->request);
464 conn->request = http_request_alloc( method, uri, version );
465 if (!conn->request)
482 HttpRequest* request = conn->request;
504 if (http_request_set_reply(request, protocol, number, readable) < 0)
539 ret = http_request_add_to_last_header( conn->request, line );
553 if (http_request_add_header(conn->request, key, value) < 0)
567 HttpRequest* r = conn->request;
577 PROXY_LOG("%s: uh oh, not Host: in request ?", root->name);
601 HttpRequest* r = conn->request;
621 HttpRequest* r = conn->request;
1027 PROXY_LOG("%s: request first line ok", root->name);
1037 PROXY_LOG("%s: request headers ok", root->name);
1053 PROXY_LOG("%s: request sent, waiting for body",
1057 PROXY_LOG("%s: request sent, waiting for reply",
1072 PROXY_LOG("%s: request body ok, waiting for reply",
1113 PROXY_LOG("%s: reply sent, looping to waiting request",
1132 PROXY_LOG("%s: reply body ok, looping to waiting request",