Nikita Popov
6d5ea20e0b
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-12 00:06:35 +01:00
Denis Yeldandi
9814be4bc2
Fixed bug #69860
2017-02-12 00:06:04 +01:00
Nikita Popov
bb2ab75555
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-07 22:54:16 +01:00
Nikita Popov
a46bbdda2e
Fixed bug #67583
...
As fcgi_request is an opaque struct as of PHP 7, expose a new API
function fcgi_end() which does fcgi_flush() with end=1 and checks/
sets the ->ended flag.
2017-01-07 22:53:28 +01:00
Nikita Popov
f346bd6ee6
Rename fcgi_request.closed to .ended
...
"closed" refers to whether FCGI_END_REQUEST has been sent, while
the "close" operation does something entirely different. It gets
extra confusing when fcgi_is_closed() does not actually return
fcgi_request.closed...
2017-01-07 22:45:19 +01:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Dmitry Stogov
22ecd4428a
Fixed compilation warnings
2016-06-21 17:56:07 +03:00
Dmitry Stogov
1616038698
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
...
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.
2016-06-21 16:00:37 +03:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Dmitry Stogov
f0d2a0e542
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.
2015-06-23 16:27:21 +03:00
Anatol Belski
cf0397ef06
reverted 0512b38
and 1411ca5
2015-05-26 09:02:19 +02:00
Xinchen Hui
5f753f9e2e
Micro optimizations
2015-05-26 11:47:01 +08:00
Anatol Belski
0512b38309
add the remaining useful symbols to the export
2015-05-23 21:00:47 +02:00
Anatol Belski
1411ca58b1
implement necessary symbol exports
2015-05-23 20:55:20 +02:00
Xinchen Hui
f20118aa66
Avoid multipy allocating of request env
2015-05-24 01:07:36 +08:00
Xinchen Hui
86de98caba
Use weak function for fcgi_log
2015-05-23 19:19:48 +08:00
Xinchen Hui
18cf4e0a8a
Fixed fpm-side (tests passes)
2015-05-23 19:01:41 +08:00
Xinchen Hui
ba5ecf355f
Use logger pointer
2015-05-19 16:34:08 +08:00
Xinchen Hui
e383cb4493
Move fastcgi.c to main
2015-05-19 16:04:35 +08:00