php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #69860
Patch fpm-keepalive-accounting revision 2015-06-17 11:00 UTC by dyeldandi at gramant dot ru

Patch fpm-keepalive-accounting for FPM related Bug #69860

Patch version 2015-06-17 11:00 UTC

Return to Bug #69860 | Download this patch
Patch Revisions:

Developer: dyeldandi@gramant.ru

diff --git a/sapi/fpm/fpm/fastcgi.c b/sapi/fpm/fpm/fastcgi.c
index 8b081b2..955ed60 100644
--- a/sapi/fpm/fpm/fastcgi.c
+++ b/sapi/fpm/fpm/fastcgi.c
@@ -919,6 +919,7 @@ int fcgi_accept_request(fcgi_request *req)
 			return -1;
 		}
 		if (fcgi_read_request(req)) {
+			fpm_request_reading_headers();
 #ifdef _WIN32
 			if (is_impersonate && !req->tcp) {
 				pipe = (HANDLE)_get_osfhandle(req->fd);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 04:01:32 2024 UTC