projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
persistent handle fixes
[m6w6/ext-http]
/
php_http_header_parser.c
diff --git
a/php_http_header_parser.c
b/php_http_header_parser.c
index 975df2467e3d4b84ffa4f8437e807160ca713bac..0dbaf848f9e72f02d59f55f27e87ef7c4ba79eee 100644
(file)
--- a/
php_http_header_parser.c
+++ b/
php_http_header_parser.c
@@
-120,8
+120,8
@@
PHP_HTTP_API STATUS php_http_header_parser_parse(php_http_header_parser_t *parse
}
case PHP_HTTP_HEADER_PARSER_STATE_KEY: {
}
case PHP_HTTP_HEADER_PARSER_STATE_KEY: {
- const char *colon, *eol_str;
- int eol_len;
+ const char *colon, *eol_str
= NULL
;
+ int eol_len
= 0
;
if (buffer->data == (eol_str = php_http_locate_bin_eol(buffer->data, buffer->used, &eol_len))) {
/* end of headers */
if (buffer->data == (eol_str = php_http_locate_bin_eol(buffer->data, buffer->used, &eol_len))) {
/* end of headers */