Lines Matching refs:http_buf_size
1300 int header_close = close, header_chunked = 0, header_length = 0, http_buf_size = 0; in get_http_body() local
1341 if (http_buf_size + buf_size + 1 < 0) { in get_http_body()
1345 http_buf = erealloc(http_buf, http_buf_size + buf_size + 1); in get_http_body()
1348 int len_read = php_stream_read(stream, http_buf + http_buf_size, buf_size - len_size); in get_http_body()
1355 http_buf_size += len_read; in get_http_body()
1405 while (http_buf_size < header_length) { in get_http_body()
1406 int len_read = php_stream_read(stream, http_buf + http_buf_size, header_length - http_buf_size); in get_http_body()
1410 http_buf_size += len_read; in get_http_body()
1415 http_buf = erealloc(http_buf, http_buf_size + 4096 + 1); in get_http_body()
1416 len_read = php_stream_read(stream, http_buf + http_buf_size, 4096); in get_http_body()
1418 http_buf_size += len_read; in get_http_body()
1425 http_buf[http_buf_size] = '\0'; in get_http_body()
1427 (*out_size) = http_buf_size; in get_http_body()