diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2008-11-08 22:56:17 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2008-11-08 22:56:17 +0000 |
commit | f121e72ac7e8eb4677dd5c8864c61d347a8c61df (patch) | |
tree | 3b1b484f02a58972a6f9aba3d33690ce7f0cf718 | |
parent | d5ad77167ae4068288eb6fe9a7789852a39263db (diff) | |
download | php-git-f121e72ac7e8eb4677dd5c8864c61d347a8c61df.tar.gz |
Fix for bug #46525
-rw-r--r-- | sapi/cgi/cgi_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index c893643250..f706f86040 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -454,6 +454,7 @@ static int sapi_cgi_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC) } } else if (response_status == 304 && h->header_len > sizeof("Content-Type:")-1 && strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:")-1) == 0) { + h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); continue; } else { PHPWRITE_H(h->header, h->header_len); |