Lines Matching refs:content_length
596 int length, content_length = 0; in sapi_nsapi_read_post() local
602 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes); in sapi_nsapi_read_post()
603 content_length = SG(request_info).content_length; in sapi_nsapi_read_post()
605 if (content_length <= 0) { in sapi_nsapi_read_post()
618 content_length -= length; in sapi_nsapi_read_post()
625 while (content_length > 0 && bytes_read < count_bytes) { in sapi_nsapi_read_post()
628 if (content_length < bytes_to_read) { in sapi_nsapi_read_post()
629 bytes_to_read = content_length; in sapi_nsapi_read_post()
640 content_length -= length; in sapi_nsapi_read_post()
971 char *content_length = pblock_findval("content-length", rq->headers); in php5_execute() local
1028 SG(request_info).content_length = (content_length == NULL) ? 0 : strtoul(content_length, 0, 0); in php5_execute()