]> granicus.if.org Git - php/commit
Encapsulate FastCGI implementation details.
authorDmitry Stogov <dmitry@zend.com>
Tue, 23 Jun 2015 13:27:21 +0000 (16:27 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 23 Jun 2015 13:27:21 +0000 (16:27 +0300)
commitf0d2a0e542ac23f6db43b71aa564b5981c5f09a2
tree95a06db2469bb9b346284e3cd4162d3ecd5ebc04
parent7a01c44ab268820c2365798fde0fe010cf6c5e20
Encapsulate FastCGI implementation details.
Previously fcgi_request defined in main/fastcgi.h might be treated differently in different files, because of different behavior of #ifdef TCP_NODELAY. This leaded to stack memory corruption and unpredictable crashes.
main/fastcgi.c
main/fastcgi.h
sapi/cgi/cgi_main.c
sapi/fpm/fpm/fpm_main.c