Lines Matching refs:http_header_line
160 char *http_header_line = NULL; in php_stream_url_wrap_http_ex() local
733 if (http_header_line != NULL) { in php_stream_url_wrap_http_ex()
734 efree(http_header_line); in php_stream_url_wrap_http_ex()
736 …if ((http_header_line = php_stream_get_line(stream, NULL, 0, &http_header_line_length)) && *http_h… in php_stream_url_wrap_http_ex()
737 char *e = http_header_line + http_header_line_length - 1; in php_stream_url_wrap_http_ex()
740 while (e >= http_header_line && (*e == '\n' || *e == '\r')) { in php_stream_url_wrap_http_ex()
750 while (e >= http_header_line && (*e == ' ' || *e == '\t')) { in php_stream_url_wrap_http_ex()
757 http_header_line_length = e - http_header_line; in php_stream_url_wrap_http_ex()
759 http_header_value = memchr(http_header_line, ':', http_header_line_length); in php_stream_url_wrap_http_ex()
774 if (!strncasecmp(http_header_line, "Location:", sizeof("Location:")-1)) { in php_stream_url_wrap_http_ex()
786 } else if (!strncasecmp(http_header_line, "Content-Type:", sizeof("Content-Type:")-1)) { in php_stream_url_wrap_http_ex()
788 } else if (!strncasecmp(http_header_line, "Content-Length:", sizeof("Content-Length:")-1)) { in php_stream_url_wrap_http_ex()
799 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex()
803 !strncasecmp(http_header_line, "Transfer-Encoding:", sizeof("Transfer-Encoding:")-1) in php_stream_url_wrap_http_ex()
826 ZVAL_STRINGL(&http_header, http_header_line, http_header_line_length); in php_stream_url_wrap_http_ex()
942 if (http_header_line) { in php_stream_url_wrap_http_ex()
943 efree(http_header_line); in php_stream_url_wrap_http_ex()