1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00

fix #29683 (headers_list() returns empty array)

This commit is contained in:
Antony Dovgal
2005-06-20 12:46:34 +00:00
parent 6f3b02cba4
commit 8be61d707f
5 changed files with 5 additions and 12 deletions
+1
View File
@@ -34,6 +34,7 @@ PHP NEWS
PHP). (Marcus)
- Fixed bug #31256 (PHP_EVAL_LIBLINE configure macro does not handle -pthread).
(Jani)
- Fixed bug #29683 (headers_list() returns empty array). (Tony)
- Fixed bug #28355 (glob wont error if dir is not readable). (Hartmut)
- Fixed bugs #20382, #28024, #30532, #32086, #32270, #32555, #32588, #33056
(strtotime() related bugs). (Derick)
+1 -3
View File
@@ -199,9 +199,7 @@ static int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_head
*p = ':'; /* a well behaved header handler shouldn't change its original arguments */
efree(sapi_header->header);
return 0; /* don't use the default SAPI mechanism, Apache duplicates this functionality */
return SAPI_HEADER_ADD;
}
/* }}} */
+1 -3
View File
@@ -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
+1 -3
View File
@@ -112,9 +112,7 @@ php_apache_sapi_header_handler(sapi_header_struct *sapi_header,sapi_headers_stru
apr_table_add(ctx->r->headers_out, sapi_header->header, val);
}
sapi_free_header(sapi_header);
return 0;
return SAPI_HEADER_ADD;
}
static int
+1 -3
View File
@@ -340,9 +340,7 @@ static int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_head
*p = ':'; /* a well behaved header handler shouldn't change its original arguments */
efree(sapi_header->header);
return 0; /* don't use the default SAPI mechanism, Apache duplicates this functionality */
return SAPI_HEADER_ADD;
}
/* }}} */