Lines Matching refs:http_buf
1436 zend_string *http_buf = NULL; in get_http_body() local
1476 if (http_buf) { in get_http_body()
1477 zend_string_release_ex(http_buf, 0); in get_http_body()
1482 if (http_buf) { in get_http_body()
1483 http_buf = zend_string_realloc(http_buf, http_buf_size + buf_size, 0); in get_http_body()
1485 http_buf = zend_string_alloc(buf_size, 0); in get_http_body()
1489 … ssize_t len_read = php_stream_read(stream, http_buf->val + http_buf_size, buf_size - len_size); in get_http_body()
1506 if (http_buf) { in get_http_body()
1507 zend_string_release_ex(http_buf, 0); in get_http_body()
1514 if (http_buf) { in get_http_body()
1515 zend_string_release_ex(http_buf, 0); in get_http_body()
1537 if (http_buf == NULL) { in get_http_body()
1545 http_buf = zend_string_alloc(header_length, 0); in get_http_body()
1547 …ssize_t len_read = php_stream_read(stream, http_buf->val + http_buf_size, header_length - http_buf… in get_http_body()
1556 if (http_buf) { in get_http_body()
1557 http_buf = zend_string_realloc(http_buf, http_buf_size + 4096, 0); in get_http_body()
1559 http_buf = zend_string_alloc(4096, 0); in get_http_body()
1561 len_read = php_stream_read(stream, http_buf->val + http_buf_size, 4096); in get_http_body()
1570 http_buf->val[http_buf_size] = '\0'; in get_http_body()
1571 http_buf->len = http_buf_size; in get_http_body()
1572 return http_buf; in get_http_body()