Lines Matching defs:request
80 testno+partno request shows up again */
82 #define RCMD_NORMALREQ 0 /* default request, use the tests file normally */
98 char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */
99 size_t checkindex; /* where to start checking of the request */
100 size_t offset; /* size of the incoming request */
101 long testno; /* test number found in the request */
102 long partno; /* part number found in the request */
103 bool open; /* keep connection open info, as found in the request */
106 bool auth; /* Authorization header present in the incoming request */
107 size_t cl; /* Content-Length of the incoming request */
111 request/response */
113 many bytes from a PUT/POST request. Ie the client sends N
117 reqprot_t protocol; /* request protocol, HTTP or RTSP */
119 bool pipelining; /* true if request is pipelined */
151 /* 'idle' means that it will accept the request fine but never respond
210 static char request[REQUEST_KEYWORD_SIZE];
219 /* try to figure out the request characteristics as soon as possible, but
224 request,
252 if((strlen(doc) + strlen(request)) < 200)
253 msnprintf(logbuf, sizeof(logbuf), "Got request: %s %s %s/%d.%d",
254 request, doc, prot_str, prot_major, prot_minor);
256 msnprintf(logbuf, sizeof(logbuf), "Got a *HUGE* request %s/%d.%d",
344 first request in this number */
414 "Received a CONNECT %s HTTP/%d.%d request",
444 /* we don't have a complete request yet! */
445 logmsg("ProcessRequest returned without a complete request");
448 logmsg("ProcessRequest found a complete request");
457 * If the request is an HTTP/1.0 one, we close the connection unconditionally
460 * If the request is an HTTP/1.1 one, we MUST check for a "Connection:"
462 * this request is processed. Otherwise, we keep the connection alive for X
472 request including the body before we return. If we've been told to
485 logmsg("Found invalid Content-Length: (%s) in the request", ptr);
491 logmsg("Found Content-Length: %lu in the request", clen);
528 logmsg("Received Digest request, sending back data %ld", req->partno);
553 logmsg("Received Basic request, sending back data %ld", req->partno);
556 req->open = FALSE; /* close connection after this request */
565 and GET/HEAD request, enable pipelining. */
599 /* store the entire request in a file */
622 logmsg("Failed to write request input to %s", dumpfile);
637 logmsg("Wrote request (%zu bytes) input to %s", totalsize, dumpfile);
641 logmsg("Wrote only (%zu bytes) of (%zu bytes) request input to %s",
672 /*** Init the httprequest structure properly for the upcoming request ***/
722 /* dump the request received so far to the external file */
737 logmsg("Waiting for another piped request");
745 /* dump request received so far to external file anyway */
751 /* dump request received so far to external file anyway */
758 /* dump the request to an external file */
920 logmsg("enable \"swsbounce\" in the next request");
1346 logmsg("special request received, no persistency");
1355 logmsg("=> persistent connection request ended, awaits new request");
1356 /* if we got a CONNECT, loop and get another request as well! */