Lines Matching refs:headerbuf
1469 char ch, done, headerbuf[8192]; in get_http_body() local
1476 php_stream_gets(stream, headerbuf, sizeof(headerbuf)); in get_http_body()
1477 if (sscanf(headerbuf, "%x", &buf_size) > 0 ) { in get_http_body()
1532 if (!php_stream_gets(stream, headerbuf, sizeof(headerbuf))) { in get_http_body()
1536 if ((headerbuf[0] == '\r' && headerbuf[1] == '\n') || in get_http_body()
1537 (headerbuf[0] == '\n')) { in get_http_body()
1584 char headerbuf[8192]; in get_http_headers() local
1586 while (php_stream_gets(stream, headerbuf, sizeof(headerbuf))) { in get_http_headers()
1587 if ((headerbuf[0] == '\r' && headerbuf[1] == '\n') || in get_http_headers()
1588 (headerbuf[0] == '\n')) { in get_http_headers()
1595 smart_str_appends(&tmp_response, headerbuf); in get_http_headers()