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);