Commit Graph

1798 Commits

Author SHA1 Message Date
Dmitry Stogov
0caa2be91f Use poll() instead of select() if available 2007-02-24 11:20:43 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Stanislav Malyshev
59bcd2372d use strlcat 2007-02-23 22:08:31 +00:00
Stanislav Malyshev
b40c94194f use strlcat 2007-02-23 22:05:46 +00:00
Stanislav Malyshev
4019bf5370 use snprintf 2007-02-23 21:45:00 +00:00
Stanislav Malyshev
e894206874 use snprintf 2007-02-23 21:38:25 +00:00
Antony Dovgal
dfbc224555 MFH 2007-02-22 10:06:22 +00:00
Antony Dovgal
4a95928d1d MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks 2007-02-21 21:57:21 +00:00
Dmitry Stogov
2b5e7d315f Check for FD_SETSIZE limit 2007-02-21 15:46:13 +00:00
Antony Dovgal
43d788ec33 MFH: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in 2007-02-20 20:11:11 +00:00
Antony Dovgal
748b6fdeb3 MFH: make use of startup hooks 2007-02-20 19:20:41 +00:00
Ilia Alshanetsky
9ae588dfb1 Fixed strlcat() usage.
# Thanks Andi
2007-02-19 23:52:13 +00:00
Dmitry Stogov
2a170f0584 Initialize "retval" on each request 2007-02-19 14:13:02 +00:00
Dmitry Stogov
7c77611057 Fixed fcgi_putenv() semantic with NULL value 2007-02-19 13:21:14 +00:00
Ilia Alshanetsky
26214fc15f Eliminate strcat() usage
Fixed handling of argv[] for GET
2007-02-18 18:08:22 +00:00
Dmitry Stogov
780c66d14b Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed) 2007-02-16 11:30:03 +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
Andi Gutmans
71645e8c4f - Give Dmitry credit for all the FastCGI work 2007-02-14 08:12:27 +00:00
Marcus Boerger
38201d8d12 - MFH php --ri <extension> 2007-02-08 16:55:34 +00:00
Dmitry Stogov
d44cb7fa7b Prevent flush of closed handle on php_module_shutdown() 2007-01-29 19:36:01 +00:00
Antony Dovgal
1b002cf39f use getenv() 2007-01-20 22:12:55 +00:00
Ilia Alshanetsky
d4fbb3ca53 Fixed bug #40127 (apache2handler doesnt compile on Netware). 2007-01-14 16:59:05 +00:00
Johannes Schlüter
a95781d9bf - MFH: Bump year 2007-01-10 22:17:27 +00:00
Antony Dovgal
3f3509606d use RETURN_* instead of RETVAL_* and fix #40083 2007-01-10 12:03:11 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
2820e6c1fa MFH 2006-12-28 22:36:53 +00:00
Antony Dovgal
46a6bd7f9d MFH 2006-12-28 13:30:25 +00:00
Antony Dovgal
41b55d9b78 MFH 2006-12-21 00:47:02 +00:00
Dmitry Stogov
53b088e60c Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M. 2006-12-20 10:49:33 +00:00
Antony Dovgal
d6db0ccc12 fix test on MacOS 2006-12-19 13:08:35 +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
Ilia Alshanetsky
eb8bab9f46 Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config
settings).
2006-12-13 15:45:20 +00:00
Ilia Alshanetsky
1c4806c515 Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). 2006-12-13 00:41:33 +00:00
Ilia Alshanetsky
cbaaf1bc07 Fixed bug #39797 (virtual() does not reset changed INI settings). 2006-12-12 18:05:25 +00:00
Ilia Alshanetsky
d3aa695263 Fixed bug #39787 (PHP doesn't work with Apache 2.3). 2006-12-11 14:54:14 +00:00
Dmitry Stogov
7389f59f4d Fixed FastCGI impersonation for persistent connections on Windows 2006-12-05 08:55:15 +00:00
Antony Dovgal
459564e2d2 fix tests 2006-12-04 17:48:52 +00:00
Alex Waugh
4e0446b6c9 MFH: Improve robustness of sending routines 2006-11-26 19:51:23 +00:00
Antony Dovgal
050e32ed65 fix test 2006-11-24 13:40:43 +00:00
Antony Dovgal
158ad3ee2f add tests for CLI 2006-11-24 13:33:38 +00:00
Dmitry Stogov
8619bf8332 Removed unnecessary getenv/putenv calls 2006-11-15 13:33:41 +00:00
Dmitry Stogov
0916ac47c9 Fixed wrong ext/filter behavior. It didn't register FastCGI environment variables and made memory leaks. 2006-11-15 11:13:02 +00:00
Dmitry Stogov
5caf547a9f cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive cgi.check_shebang_line can be used to ommiting checnk for "#! /usr/bin/php" line. 2006-11-14 10:31:47 +00:00
Ilia Alshanetsky
b3006ed2a5 Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php
ErrorDocument).
2006-11-09 19:10:13 +00:00
Ilia Alshanetsky
e5f9b479af Fixed bug #38602 (header( "HTTP/1.0 ..." ) does not change proto version). 2006-11-09 00:13:26 +00:00
Hannes Magnusson
7b15d02b99 Fix build 2006-11-04 13:03:56 +00:00
Pierre Joye
c002606a88 - fix build (var.s is for zstr) 2006-11-03 16:40:52 +00:00
Ilia Alshanetsky
6123f11021 MFH:
Added filter support for $_SERVER in cgi/apache2 sapis
	Make sure PHP_SELF is filtered in Apache 1 sapi
2006-11-03 13:51:48 +00:00
Uwe Schindler
3cfbbc0635 MFH: update readme 2006-10-27 07:29:51 +00:00