added fix be marcelog, see #59970

v1.1
Peter Petermann 2013-03-17 17:33:02 +01:00
parent 5ac6a47e5d
commit beb86e70fe
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,9 @@
SEPARATE_ZVAL(value); \
convert_to_string(*value); \
} \
zend_hash_add(h, string_key, strlen(string_key)+1, Z_STRVAL_PP(value), Z_STRLEN_PP(value)+1, NULL); \
if (strcmp(string_key, "content-length") != 0) { \
zend_hash_add(h, string_key, strlen(string_key)+1, Z_STRVAL_PP(value), Z_STRLEN_PP(value)+1, NULL); \
}\
efree(string_key); \
} \
}