From 02693489fe8ff60cd29692fa873ba129866729ca Mon Sep 17 00:00:00 2001 From: Unbit Date: Thu, 28 Mar 2013 12:13:23 +0100 Subject: [PATCH] fixed php headers generation --- plugins/php/php_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/php/php_plugin.c b/plugins/php/php_plugin.c index 106b68ac..3e6ae912 100644 --- a/plugins/php/php_plugin.c +++ b/plugins/php/php_plugin.c @@ -96,7 +96,7 @@ static int sapi_uwsgi_send_headers(sapi_headers_struct *sapi_headers) } else { char *sl = SG(sapi_headers).http_status_line; - uwsgi_response_prepare_headers(wsgi_req, sl, strlen(sl)); + uwsgi_response_prepare_headers(wsgi_req, sl + 8 , strlen(sl) - 8); } h = zend_llist_get_first_ex(&sapi_headers->headers, &pos);