Lines Matching refs:http_header_line

132 	char *http_header_line = NULL;  in php_stream_url_wrap_http_ex()  local
739 if (http_header_line != NULL) { in php_stream_url_wrap_http_ex()
740 efree(http_header_line); in php_stream_url_wrap_http_ex()
742 …if ((http_header_line = php_stream_get_line(stream, NULL, 0, &http_header_line_length)) && *http_h… in php_stream_url_wrap_http_ex()
743 char *e = http_header_line + http_header_line_length - 1; in php_stream_url_wrap_http_ex()
746 while (e >= http_header_line && (*e == '\n' || *e == '\r')) { in php_stream_url_wrap_http_ex()
756 while (e >= http_header_line && (*e == ' ' || *e == '\t')) { in php_stream_url_wrap_http_ex()
763 http_header_line_length = e - http_header_line; in php_stream_url_wrap_http_ex()
765 http_header_value = memchr(http_header_line, ':', http_header_line_length); in php_stream_url_wrap_http_ex()
780 if (!strncasecmp(http_header_line, "Location:", sizeof("Location:")-1)) { in php_stream_url_wrap_http_ex()
792 } else if (!strncasecmp(http_header_line, "Content-Type:", sizeof("Content-Type:")-1)) { in php_stream_url_wrap_http_ex()
794 } else if (!strncasecmp(http_header_line, "Content-Length:", sizeof("Content-Length:")-1)) { in php_stream_url_wrap_http_ex()
796 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex()
798 !strncasecmp(http_header_line, "Transfer-Encoding:", sizeof("Transfer-Encoding:")-1) in php_stream_url_wrap_http_ex()
821 ZVAL_STRINGL(&http_header, http_header_line, http_header_line_length); in php_stream_url_wrap_http_ex()
937 if (http_header_line) { in php_stream_url_wrap_http_ex()
938 efree(http_header_line); in php_stream_url_wrap_http_ex()