Lines Matching refs:headerbuf
1453 char ch, done, headerbuf[8192]; in get_http_body() local
1460 php_stream_gets(stream, headerbuf, sizeof(headerbuf)); in get_http_body()
1461 if (sscanf(headerbuf, "%x", &buf_size) > 0 ) { in get_http_body()
1516 if (!php_stream_gets(stream, headerbuf, sizeof(headerbuf))) { in get_http_body()
1520 if ((headerbuf[0] == '\r' && headerbuf[1] == '\n') || in get_http_body()
1521 (headerbuf[0] == '\n')) { in get_http_body()
1568 char headerbuf[8192]; in get_http_headers() local
1570 while (php_stream_gets(stream, headerbuf, sizeof(headerbuf))) { in get_http_headers()
1571 if ((headerbuf[0] == '\r' && headerbuf[1] == '\n') || in get_http_headers()
1572 (headerbuf[0] == '\n')) { in get_http_headers()
1579 smart_str_appends(&tmp_response, headerbuf); in get_http_headers()