diff options
| author | Antony Dovgal <tony2001@php.net> | 2005-06-20 12:46:34 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2005-06-20 12:46:34 +0000 |
| commit | 8be61d707fbc1c819cd4eebb5d90b0a6d4aeaf97 (patch) | |
| tree | 694f718b7e33800677d1736d082d038c8d40a82c /sapi/apache2filter | |
| parent | 6f3b02cba430ce01150b6bb298158878ce633415 (diff) | |
| download | php-git-8be61d707fbc1c819cd4eebb5d90b0a6d4aeaf97.tar.gz | |
fix #29683 (headers_list() returns empty array)
Diffstat (limited to 'sapi/apache2filter')
| -rw-r--r-- | sapi/apache2filter/sapi_apache2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index f92fdad0ec..6f92f7c35a 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -128,9 +128,7 @@ php_apache_sapi_header_handler(sapi_header_struct *sapi_header, sapi_headers_str else apr_table_add(ctx->r->headers_out, sapi_header->header, val); - sapi_free_header(sapi_header); - - return 0; + return SAPI_HEADER_ADD; } static int |
