Commit Graph

47 Commits

Author SHA1 Message Date
Arnaud Le Blanc
e3c556c85e MFH: Fixed FCGI_GET_VALUES requests (fixes #45522) 2008-10-21 03:19:28 +00:00
Dmitry Stogov
ced680941a Fixed bug #45786 (FastCGI process exited unexpectedly) 2008-08-26 09:56:08 +00:00
Dmitry Stogov
5304e5631f Fix for bug #45786 (FastCGI process exited unexpectedly) 2008-08-18 10:49:35 +00:00
Dmitry Stogov
c27eba9bcf Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown before shutdown) (basant dot kukreja at sun dot com) 2008-07-15 13:11:19 +00:00
Dmitry Stogov
9e4d03885e - Fixed possible stack buffer overflow in FastCGI SAPI. (Andrey Nigmatulin)
- Fixed sending of uninitialized paddings which may contain some information.
  (Andrey Nigmatulin)
2008-04-03 10:24:58 +00:00
Dmitry Stogov
f27c1b9d07 optimization 2008-02-15 14:45:42 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
dd8c8d05e8 Added checks for malformated FastCGI requests (Mattias Bengtsson) 2007-09-07 08:26:47 +00:00
Dmitry Stogov
3a5501e0d4 ECONNABORTED is not a critical error (Andrei Nigmatulin) 2007-07-09 11:48:39 +00:00
Dmitry Stogov
23409a4bbf Fixed crash on "php -b 1234 -unknown-option" 2007-05-21 09:08:13 +00:00
Dmitry Stogov
6e8438633b Fixed bug #41291 (FastCGI does not set SO_REUSEADDR). (fmajid at kefta dot com) 2007-05-10 15:21:02 +00:00
Dmitry Stogov
857f992cd3 Removed wrong size_t definition 2007-04-09 15:39:59 +00:00
Dmitry Stogov
4a119f9a79 Improved FastCGI SAPI to support external pipe and socket servers on win32 2007-03-28 15:39:22 +00:00
Dmitry Stogov
1e13ef2de5 Fixed compilation warning 2007-03-12 07:39:01 +00:00
Ilia Alshanetsky
efad70c2cc snprintf() -> slprintf() 2007-02-27 03:28:17 +00:00
Dmitry Stogov
94d7b8b004 poll() is not affected by FD_SETSIZE (Tony) 2007-02-26 09:38:44 +00:00
Dmitry Stogov
0caa2be91f Use poll() instead of select() if available 2007-02-24 11:20:43 +00:00
Dmitry Stogov
2b5e7d315f Check for FD_SETSIZE limit 2007-02-21 15:46:13 +00:00
Dmitry Stogov
7c77611057 Fixed fcgi_putenv() semantic with NULL value 2007-02-19 13:21:14 +00:00
Dmitry Stogov
a79d74b694 Fixed bug #40414 (possivle endless fork() loop when running fastcgi) 2007-02-15 12:33:16 +00:00
Dmitry Stogov
12bbbf022f Fixed Bug #40352 (FCGI_WEB_SERVER_ADDRS function get lost) 2007-02-15 12:04:59 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Dmitry Stogov
868ac7d3a3 Fixed bug #39869 (safe_read does not initialize errno). (michiel at boland dot org) 2006-12-19 09:17:04 +00:00
Dmitry Stogov
7389f59f4d Fixed FastCGI impersonation for persistent connections on Windows 2006-12-05 08:55:15 +00:00
Dmitry Stogov
bf95b64376 Fixed bug #39020 (PHP in FastCGI server mode crashes) 2006-10-16 10:46:59 +00:00
Dmitry Stogov
da09526eac Fix for bug #38757 (MultiPart Form Uploads fail with FastCGI) 2006-09-13 13:03:01 +00:00
Dmitry Stogov
567a4785b3 Don't try to do safe connection close in case of FastCGI protocol error 2006-09-11 07:22:40 +00:00
Dmitry Stogov
a5107c1803 Fixed "signed/unsigned mismatch" warning. 2006-09-04 07:26:48 +00:00
Ilia Alshanetsky
672da2daeb MFH: sa_len compile fix for IRIX
# Patch by Sascha
2006-08-20 18:24:11 +00:00
Dmitry Stogov
5a73f8f13f Removed warning 2006-06-13 13:55:12 +00:00
Dmitry Stogov
630def46f7 Fixed bug #37496 (FastCGI output buffer overrun) 2006-05-25 06:40:04 +00:00
Dmitry Stogov
302c53fc5d Fixed bug #37496 (FastCGI output buffer overrun) 2006-05-22 09:22:20 +00:00
Antony Dovgal
52cb01a933 fix typo 2006-05-22 06:49:48 +00:00
Dmitry Stogov
b5cd968ffc - Removed source compatibility with libfcgi
- Optimized access to FastCGI environment using HashTable instead of linear search
- Allowed PHP_FCGI_MAX_REQUESTS=0 to disable PHP die
- Allowed PHP_FCGI_CHILDREN=0 to disable PHP spawn workers
2006-05-15 14:30:31 +00:00
Ilia Alshanetsky
57184454e9 Fixed bug #37376 (fastcgi.c compile fail with gcc 2.95.4). 2006-05-09 22:00:08 +00:00
Dmitry Stogov
b096a5de17 Fixed bug #37313 (sigemptyset() used without including <signal.h>). (jdolecek) 2006-05-05 07:05:34 +00:00
Dmitry Stogov
f03fe1c09d Fixed bug #37205 (incompatibility with mod_fastcgi) 2006-05-03 15:39:16 +00:00
Dmitry Stogov
79fd560e5e Fixed incompatibility with isapi_fcgi.dll 2006-05-03 13:19:57 +00:00
Dmitry Stogov
ff452441e2 Proper fix for bug #37205 2006-04-27 11:39:32 +00:00
Dmitry Stogov
e0beb7fc71 Revert wrong fix 2006-04-26 17:48:27 +00:00
Dmitry Stogov
bbda630ed9 Fixed bug #37205 (Serving binary content/images fails with "comm with server aborted" FastCGI err) 2006-04-26 11:08:10 +00:00
Dmitry Stogov
5b973c86ee iFixed compilation on Solaris 2006-04-24 09:53:57 +00:00
Dmitry Stogov
d19c105819 Fixed SUN_LEN calculation 2006-04-18 06:59:19 +00:00
Marcus Boerger
5a69b29082 - Warning fixes by Steph 2006-02-26 10:57:00 +00:00
Frank M. Kromann
5e673e0639 Fix build on win32 2006-02-04 23:54:21 +00:00
Dmitry Stogov
aa1142eded Fixed bug #36158 (SIGTERM is not handled correctly when running as a FastCGI server) 2006-02-03 16:30:09 +00:00
Dmitry Stogov
7e7fcc3a07 Reimplement FastCGI interface
Due to licensing restrictions that actually don't allow anybody to use
the libfcgi code without prior approval from Open Market, which is
impossible to obtain - we decided to reimplement this interface from
scratch.  The result is actually slightly faster, and more importantly,
clear of any copyright issues.
2006-02-02 08:17:23 +00:00