projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
simple escape/quotes support for the params parser
[m6w6/ext-http]
/
php_http_env.c
diff --git
a/php_http_env.c
b/php_http_env.c
index f2d4a38dec43adad76ee3e9ddcfdf21349b05dd2..74194c43a929c8dba1c014da1aa6f64ce3235520 100644
(file)
--- a/
php_http_env.c
+++ b/
php_http_env.c
@@
-417,7
+417,7
@@
PHP_HTTP_API STATUS php_http_env_get_response_headers(HashTable *headers_ht TSRM
zend_llist_apply_with_argument(&SG(sapi_headers).headers, grab_headers, &headers TSRMLS_CC);
php_http_buffer_fix(&headers);
zend_llist_apply_with_argument(&SG(sapi_headers).headers, grab_headers, &headers TSRMLS_CC);
php_http_buffer_fix(&headers);
- status = php_http_headers_parse(
PHP_HTTP_BUFFER_VAL(&headers), PHP_HTTP_BUFFER_LEN(&headers)
, headers_ht, NULL, NULL TSRMLS_CC);
+ status = php_http_headers_parse(
headers.data, headers.used
, headers_ht, NULL, NULL TSRMLS_CC);
php_http_buffer_dtor(&headers);
return status;
php_http_buffer_dtor(&headers);
return status;