Lines Matching refs:http_header_line

131 	char *http_header_line = NULL;  in php_stream_url_wrap_http_ex()  local
740 if (http_header_line != NULL) { in php_stream_url_wrap_http_ex()
741 efree(http_header_line); in php_stream_url_wrap_http_ex()
743 …if ((http_header_line = php_stream_get_line(stream, NULL, 0, &http_header_line_length)) && *http_h… in php_stream_url_wrap_http_ex()
744 char *e = http_header_line + http_header_line_length - 1; in php_stream_url_wrap_http_ex()
747 while (e >= http_header_line && (*e == '\n' || *e == '\r')) { in php_stream_url_wrap_http_ex()
757 while (e >= http_header_line && (*e == ' ' || *e == '\t')) { in php_stream_url_wrap_http_ex()
764 http_header_line_length = e - http_header_line; in php_stream_url_wrap_http_ex()
766 http_header_value = memchr(http_header_line, ':', http_header_line_length); in php_stream_url_wrap_http_ex()
781 if (!strncasecmp(http_header_line, "Location:", sizeof("Location:")-1)) { in php_stream_url_wrap_http_ex()
793 } else if (!strncasecmp(http_header_line, "Content-Type:", sizeof("Content-Type:")-1)) { in php_stream_url_wrap_http_ex()
795 } else if (!strncasecmp(http_header_line, "Content-Length:", sizeof("Content-Length:")-1)) { in php_stream_url_wrap_http_ex()
797 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex()
799 !strncasecmp(http_header_line, "Transfer-Encoding:", sizeof("Transfer-Encoding:")-1) in php_stream_url_wrap_http_ex()
822 ZVAL_STRINGL(&http_header, http_header_line, http_header_line_length); in php_stream_url_wrap_http_ex()
931 if (http_header_line) { in php_stream_url_wrap_http_ex()
932 efree(http_header_line); in php_stream_url_wrap_http_ex()