Home
last modified time | relevance | path

Searched refs:REQBUFSIZ (Results 1 – 2 of 2) sorted by relevance

/curl/tests/server/
H A Drtspd.c70 #define REQBUFSIZ 150000 macro
95 char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */
692 while(!done_processing && (req->offset < REQBUFSIZ-1)) { in get_request()
705 got = sread(sock, reqbuf + req->offset, REQBUFSIZ-1 - req->offset); in get_request()
740 if((req->offset == REQBUFSIZ-1) && (got > 0)) { in get_request()
743 reqbuf[REQBUFSIZ-1] = '\0'; in get_request()
746 else if(req->offset > REQBUFSIZ-1) { in get_request()
749 reqbuf[REQBUFSIZ-1] = '\0'; in get_request()
H A Dsws.c81 #define REQBUFSIZ (2*1024*1024) macro
96 char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */
895 got = sread(sock, reqbuf + req->offset, REQBUFSIZ - req->offset); in get_request()
937 if(req->offset >= REQBUFSIZ-1) { in get_request()
948 got = sread(sock, reqbuf + req->offset, REQBUFSIZ-1 - req->offset); in get_request()
982 if(overflow || (req->offset == REQBUFSIZ-1 && got > 0)) { in get_request()
985 reqbuf[REQBUFSIZ-1] = '\0'; in get_request()
988 else if(req->offset > REQBUFSIZ-1) { in get_request()
991 reqbuf[REQBUFSIZ-1] = '\0'; in get_request()

Completed in 15 milliseconds