Lines Matching refs:offset
97 size_t offset; /* size of the incoming request */ member
558 req->reqbuf + req->offset > end + strlen(END_OF_HEADERS) && in ProcessRequest()
587 if(req->cl <= req->offset - (end - req->reqbuf) - strlen(END_OF_HEADERS)) in ProcessRequest()
666 pipereq_length = req->offset - req->checkindex; in get_request()
672 req->offset = 0; in get_request()
692 while(!done_processing && (req->offset < REQBUFSIZ-1)) { in get_request()
703 got = sread(sock, reqbuf + req->offset, req->cl); in get_request()
705 got = sread(sock, reqbuf + req->offset, REQBUFSIZ-1 - req->offset); in get_request()
720 reqbuf[req->offset] = '\0'; in get_request()
721 storerequest(reqbuf, req->offset); in get_request()
727 req->offset += (size_t)got; in get_request()
728 reqbuf[req->offset] = '\0'; in get_request()
740 if((req->offset == REQBUFSIZ-1) && (got > 0)) { in get_request()
746 else if(req->offset > REQBUFSIZ-1) { in get_request()
753 reqbuf[req->offset] = '\0'; in get_request()
756 storerequest(reqbuf, req->pipelining ? req->checkindex : req->offset); in get_request()