Lines Matching refs:http_buf_size
1401 int header_close = close, header_chunked = 0, header_length = 0, http_buf_size = 0; in get_http_body() local
1438 if (http_buf_size + buf_size + 1 < 0) { in get_http_body()
1446 http_buf = zend_string_realloc(http_buf, http_buf_size + buf_size, 0); in get_http_body()
1452 int len_read = php_stream_read(stream, http_buf->val + http_buf_size, buf_size - len_size); in get_http_body()
1459 http_buf_size += len_read; in get_http_body()
1509 while (http_buf_size < header_length) { in get_http_body()
1510 …nt len_read = php_stream_read(stream, http_buf->val + http_buf_size, header_length - http_buf_size… in get_http_body()
1514 http_buf_size += len_read; in get_http_body()
1520 http_buf = zend_string_realloc(http_buf, http_buf_size + 4096, 0); in get_http_body()
1524 len_read = php_stream_read(stream, http_buf->val + http_buf_size, 4096); in get_http_body()
1526 http_buf_size += len_read; in get_http_body()
1533 http_buf->val[http_buf_size] = '\0'; in get_http_body()
1534 http_buf->len = http_buf_size; in get_http_body()