Commit Graph

1762 Commits

Author SHA1 Message Date
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
Uwe Schindler
841bac014a Fix build in Sun Webserver 7 (should be in 5.2.0, it's not critical but does not break mainstream sapis!!!) 2006-10-27 07:23:44 +00:00
Dmitry Stogov
bf95b64376 Fixed bug #39020 (PHP in FastCGI server mode crashes) 2006-10-16 10:46:59 +00:00
Brian France
33879eceb3 Memory assigned to the request_rec should be allocated from apache pools
and should not be free'ed at the end of the handler phase
2006-10-12 20:02:58 +00:00
Dmitry Stogov
4705155d13 Removed unused libfcgi 2006-09-28 09:37:52 +00:00
Antony Dovgal
bc81c718c8 fix CGI build 2006-09-23 12:27:40 +00:00
Ilia Alshanetsky
be18d5f345 Restore support for unquoted -d options 2006-09-22 17:41:09 +00:00
Dmitry Stogov
7d14dad02e MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests). 2006-09-19 20:33:12 +00:00
Antony Dovgal
4b257a1c0e fix leak with php -c /path -h 2006-09-15 08:18:36 +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
Nuno Lopes
47713b1eb7 more int->zend_bool conversions 2006-09-06 11:54:29 +00:00
Dmitry Stogov
a5107c1803 Fixed "signed/unsigned mismatch" warning. 2006-09-04 07:26:48 +00:00
Dmitry Stogov
f9d9c4a6aa FastCGI environment variables must not be overriden by system environment variables 2006-08-31 13:11:58 +00:00
Dmitry Stogov
f7e99a2162 Fixed bug #38543 (shutdown_executor() may segfault when memory_limit is too low). 2006-08-22 12:04:53 +00:00
Ilia Alshanetsky
672da2daeb MFH: sa_len compile fix for IRIX
# Patch by Sascha
2006-08-20 18:24:11 +00:00
Antony Dovgal
1ec10ac8c7 typos in comments and other minor improvements 2006-08-10 13:43:18 +00:00
Stanislav Malyshev
0617904d0a fix bug with variables clobbered by longjmp 2006-08-08 13:34:14 +00:00
Dmitry Stogov
29e1530cd7 Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs 2006-08-03 09:56:50 +00:00
Antony Dovgal
5e0f6ea7db nuke unused variable 2006-07-26 10:31:08 +00:00
Dmitry Stogov
356facf4af Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system. 2006-07-25 13:40:05 +00:00
Dmitry Stogov
b9ba07f7a0 Documentation fix 2006-07-24 12:15:07 +00:00
Dmitry Stogov
29ed52ffa4 New memory manager 2006-07-18 09:06:33 +00:00
Ilia Alshanetsky
190c186fb8 apache2handler sapi is no longer experimental 2006-07-11 00:15:30 +00:00
SVN Migration
1b0a789ab9 This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-07-05 10:12:43 +00:00
John Coggeshall
3a0791c99b Reimplementation of the way Apache 2 Filter works. Instead of ripping the
source from a file (thus bypassing any previous filters in the chain). This
implementation wraps Zend's internal stream mechanism, allowing ZE to read
from Apache's streams instead.
2006-07-03 16:51:38 +00:00
Antony Dovgal
6c52ec1319 MFH: fix #37920 (compilation problems on z/OS) 2006-06-27 08:27:10 +00:00
Antony Dovgal
20a379fa7d MFH: initialize pointers 2006-06-20 12:55:26 +00:00
Antony Dovgal
33616195b9 MFH: plug leak in CGI SAPI when running scripts with query string in console 2006-06-19 17:49:26 +00:00
Michael Wallner
f4106441cb - Fix Bug #37780 memory leak trying to execute a non existing file (CLI) 2006-06-19 14:52:34 +00:00
Antony Dovgal
cd7d7039ac MFH: add missing ifdef and avoid "unused variable" warning 2006-06-19 11:39:02 +00:00
Nuno Lopes
6509311ebb plug memory leak in sapi_putenv, by using setenv(), that doesnt need any malloc 2006-06-17 11:08:05 +00:00
Dmitry Stogov
eb8c558966 Removed warnings 2006-06-13 14:22:46 +00:00
Dmitry Stogov
5a73f8f13f Removed warning 2006-06-13 13:55:12 +00:00
Michael Wallner
76838bcd54 - sync with apache2handler 2006-06-09 16:29:35 +00:00
Michael Wallner
2e9ec84ce2 MFH: fix bug #37720 (merge_php_config scrambles values) 2006-06-09 15:13:39 +00:00
Johannes Schlüter
2f418134ff MFH 2006-06-03 22:02:02 +00:00