Lines Matching refs:http_header_line

128 	char *http_header_line = NULL;  in php_stream_url_wrap_http_ex()  local
753 http_header_line = emalloc(HTTP_HEADER_BLOCK_SIZE); in php_stream_url_wrap_http_ex()
758 …_get_line(stream, http_header_line, HTTP_HEADER_BLOCK_SIZE, &http_header_line_length) && *http_hea… in php_stream_url_wrap_http_ex()
759 char *e = http_header_line + http_header_line_length - 1; in php_stream_url_wrap_http_ex()
763 …if (php_stream_get_line(stream, http_header_line, HTTP_HEADER_BLOCK_SIZE, &http_header_line_length… in php_stream_url_wrap_http_ex()
767 e = http_header_line + http_header_line_length - 1; in php_stream_url_wrap_http_ex()
771 while (e >= http_header_line && (*e == '\n' || *e == '\r')) { in php_stream_url_wrap_http_ex()
781 while (e >= http_header_line && (*e == ' ' || *e == '\t')) { in php_stream_url_wrap_http_ex()
788 http_header_line_length = e - http_header_line; in php_stream_url_wrap_http_ex()
790 http_header_value = memchr(http_header_line, ':', http_header_line_length); in php_stream_url_wrap_http_ex()
805 if (!strncasecmp(http_header_line, "Location:", sizeof("Location:")-1)) { in php_stream_url_wrap_http_ex()
817 } else if (!strncasecmp(http_header_line, "Content-Type:", sizeof("Content-Type:")-1)) { in php_stream_url_wrap_http_ex()
819 } else if (!strncasecmp(http_header_line, "Content-Length:", sizeof("Content-Length:")-1)) { in php_stream_url_wrap_http_ex()
821 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex()
823 !strncasecmp(http_header_line, "Transfer-Encoding:", sizeof("Transfer-Encoding:")-1) in php_stream_url_wrap_http_ex()
846 ZVAL_STRINGL(&http_header, http_header_line, http_header_line_length); in php_stream_url_wrap_http_ex()
947 if (http_header_line) { in php_stream_url_wrap_http_ex()
948 efree(http_header_line); in php_stream_url_wrap_http_ex()