Lines Matching refs:headerbuf
1407 char ch, done, headerbuf[8192]; in get_http_body() local
1414 php_stream_gets(stream, headerbuf, sizeof(headerbuf)); in get_http_body()
1415 if (sscanf(headerbuf, "%x", &buf_size) > 0 ) { in get_http_body()
1470 if (!php_stream_gets(stream, headerbuf, sizeof(headerbuf))) { in get_http_body()
1474 if ((headerbuf[0] == '\r' && headerbuf[1] == '\n') || in get_http_body()
1475 (headerbuf[0] == '\n')) { in get_http_body()
1522 char headerbuf[8192]; in get_http_headers() local
1524 while (php_stream_gets(stream, headerbuf, sizeof(headerbuf))) { in get_http_headers()
1525 if ((headerbuf[0] == '\r' && headerbuf[1] == '\n') || in get_http_headers()
1526 (headerbuf[0] == '\n')) { in get_http_headers()
1533 smart_str_appends(&tmp_response, headerbuf); in get_http_headers()