Dmitry Stogov
8cab54a897
Fixed bug #43968 (Extending internal class causes a crash)
...
The fix is a workaround for GCC optizer bug.
2008-01-29 20:01:31 +00:00
Antony Dovgal
9a16d91117
fix test
...
Derick, you're adding new methods too fast =)
2008-01-29 12:23:48 +00:00
Hannes Magnusson
bb9fa509fe
Fix test
2008-01-27 19:10:41 +00:00
Ilia Alshanetsky
1227a4c57a
Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1
...
response)
2008-01-16 15:49:46 +00:00
Ilia Alshanetsky
f94d19ffea
Fixed test
2008-01-13 17:23:14 +00:00
Ilia Alshanetsky
93264ecc32
Update copyright
2008-01-01 18:30:20 +00:00
Ilia Alshanetsky
79e02d8786
Update copyright
2007-12-31 21:34:42 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Antony Dovgal
996e245143
fix test
2007-12-15 12:46:22 +00:00
Dmitry Stogov
c34a2574be
The -f option is fixed to work in the same way as in CLI sapi
2007-12-03 09:38:12 +00:00
Jani Taskinen
02d966c263
MFH:- Added support for [HOST=www.example.com] special sections
...
MFH:- Allowed using full path to load modules using "extension" directive
2007-11-09 16:27:43 +00:00
Antony Dovgal
46c08f53d7
fix tests
2007-11-01 12:55:42 +00:00
Dmitry Stogov
a1d37c3c7f
Fixed bug #42848 (Status: header incorrect under FastCGI)
2007-11-01 11:12:33 +00:00
Dmitry Stogov
df96b455d4
Added check for HAVE_GETTIMEOFDAY
2007-10-26 04:46:12 +00:00
Jani Taskinen
9942f30a38
MFH: ws
2007-10-25 10:01:30 +00:00
Dmitry Stogov
6f7b738b71
Added CGI SAPI -T option, to measure execution time of script repeated several times.
2007-10-25 05:39:06 +00:00
Rob Richards
c4575f4c4b
MFH: fix win build
2007-10-05 16:00:30 +00:00
Jani Taskinen
aa3eee1dce
MFH:- Moved the old regex functions to own extension: ereg
2007-10-05 15:00:09 +00:00
Jani Taskinen
2bc631fb40
MFH:- Added common getopt implementation to core.
...
MFH:- Added long-option feature to getopt().
MFH:- Made getopt() available on win32 systems.
MFH: Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
# Note: Fixed also tests and synced basic_functions.c with HEAD.
2007-10-01 12:40:54 +00:00
Nuno Lopes
e029a0ee59
fix a few compiler warnings (mostly use of unitialized values)
2007-09-29 11:18:42 +00:00
Jani Taskinen
09b6f37f20
MFH:
...
- Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
in php.ini. All directives set in these sections will not be able to be
overridden in user-defined ini-files or during runtime in the specified
path.
- Improved php.ini handling:
. Added better error reporting for syntax errors in php.ini files
. Allowed "ini-variables" to be used almost everywhere ini php.ini files
. Allowed using alphanumeric/variable indexes in "array" ini options
. Fixed get_cfg_var() to be able to return "array" ini options
- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
characters)
2007-09-28 02:05:10 +00:00
Jani Taskinen
0d3bdf23d2
MFH: ws + cs
2007-09-27 22:09:46 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Dmitry Stogov
06f43b30c1
MFH: Improved and cleaned CGI code. FastCGI is now always enabled and can not be disabled. See sapi/cgi/CHANGES for more details.
2007-09-27 08:23:58 +00:00
Dmitry Stogov
b441b275b3
Fixed bug #42699 (PHP_SELF duplicates path)
2007-09-24 11:40:05 +00:00
Dmitry Stogov
96810f0ae6
Fixed bug #42587 (behaviour change regarding symlinked .php files)
2007-09-10 10:55:26 +00:00
Jani Taskinen
fef2b33e85
MFH:- Fixed bug #42579 (apache_reset_timeout() does not exist)
2007-09-07 08:49:24 +00:00
Dmitry Stogov
dd8c8d05e8
Added checks for malformated FastCGI requests (Mattias Bengtsson)
2007-09-07 08:26:47 +00:00
Dmitry Stogov
5d238efaa6
Fixed bug #42523 (PHP_SELF duplicates path)
2007-09-05 08:26:32 +00:00
Dmitry Stogov
39bceffc4a
Fixed bug #42453 (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline options)
2007-08-31 12:17:52 +00:00
Stanislav Malyshev
50293835bf
remove unneeded variables
2007-08-08 23:51:57 +00:00
Stanislav Malyshev
45e907a0ee
fix startup - remove unneeded variables
2007-08-08 21:57:30 +00:00
Stanislav Malyshev
1e7a23a376
initialize values
2007-08-08 21:11:53 +00:00
Stanislav Malyshev
6c8312fa03
fix TSRM embed startup
2007-08-08 21:06:28 +00:00
Dmitry Stogov
50aef7ec83
- Fixed bug #42198 (SCRIPT_NAME and PHP_SELF truncated when inside a userdir
...
and using PATH_INFO).
- Fixed bug #31892 (PHP_SELF incorrect without cgi.fix_pathinfo, but turning
on screws up PATH_INFO).
2007-08-08 13:01:40 +00:00
Jani Taskinen
9c07366bb0
MFH: fix typos in comments
2007-08-08 10:00:34 +00:00
Antony Dovgal
83e7324dae
fix build
2007-08-06 12:54:57 +00:00
Jani Taskinen
77f9d22a0e
- Sync with apache2handler
2007-08-03 09:33:30 +00:00
Jani Taskinen
b8470c4ca0
ws
2007-08-03 09:33:17 +00:00
Jani Taskinen
fc2fef68ac
- ws + sync apache2filter apache_config.c with the one from apache2handler
2007-08-03 09:32:34 +00:00
Stanislav Malyshev
c94dee8696
implement separate .htaccess stage
2007-08-03 01:14:44 +00:00
Stanislav Malyshev
f361b07629
use hardcoded ini like CLI
2007-08-02 23:45:28 +00:00
Jani Taskinen
eb923bf6fc
MFH: - Changed AC_ARG_* options to PHP_ARG_* options.
...
MFH: - Some cleanups here and there
MFH: - Enabled PHP_CHECK_CONFIGURE_OPTIONS (checks for unknown configure
MFH: options)
# Note to Marcus: ext/dba/config.m4 needs to be "converted" to use
# the PHP_ARG_* options. I did't touch it needs quite a lot of work to keep
# it's current behaviour regarding "enabled-by-default" parts of it.
#
# Hint: By using the PHP_ARG_* options you have the "default" option.. ;)
2007-07-11 23:20:37 +00:00
Dmitry Stogov
3a5501e0d4
ECONNABORTED is not a critical error (Andrei Nigmatulin)
2007-07-09 11:48:39 +00:00
foobar
7ed3c4536d
MFH: Fix some configure --help texts
2007-07-03 17:25:43 +00:00
Antony Dovgal
37e0738f3a
MFH
2007-06-28 17:23:07 +00:00
Dmitry Stogov
e5909f149c
Fixed bug #40419 (Trailing Slash in CGI request don't work)
2007-06-26 14:47:16 +00:00
Dmitry Stogov
5d2180835a
no need to return exit status of the last fastcgi request
2007-06-21 08:40:43 +00:00
Scott MacVicar
b73d2a94ae
Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3).
2007-06-18 15:52:46 +00:00
Antony Dovgal
5c75e5b4f4
MFH: add missing open_basedir checks to CGI
2007-06-04 15:38:12 +00:00
Antony Dovgal
3285bd834b
fix folding
2007-06-04 09:47:54 +00:00
foobar
ca1b7e7b47
fix test
2007-06-03 22:50:19 +00:00
foobar
d12bbce277
MFH
2007-06-03 21:57:35 +00:00
foobar
7bd41e0715
MFH:- Fixed bug #41576 (misbehaviour when using --without-apxs)
2007-06-03 20:27:16 +00:00
foobar
6567a93a2a
fix test
2007-06-01 22:18:56 +00:00
Antony Dovgal
6d76fc2834
MFH: fix #39330 (apache2handler does not call shutdown actions before apache child die)
2007-06-01 10:04:06 +00:00
Antony Dovgal
568525bbb5
fix test (second try)
2007-05-30 14:43:18 +00:00
Antony Dovgal
2958037b2a
fix test
2007-05-30 14:40:24 +00:00
Antony Dovgal
b529617499
fix tests
2007-05-30 10:19:39 +00:00
Dmitry Stogov
e35679618e
Removed deprecated comment
2007-05-28 08:11:59 +00:00
Antony Dovgal
ccd16d09c0
MFH
2007-05-27 19:23:09 +00:00
foobar
a894611636
- Unify installation of SAPIs: CGI is no exception anymore.
2007-05-24 23:29:59 +00:00
Dmitry Stogov
23409a4bbf
Fixed crash on "php -b 1234 -unknown-option"
2007-05-21 09:08:13 +00:00
Dmitry Stogov
3040a34b21
libfcgi cleanup (Andrei Nigmatulin)
2007-05-21 08:47:51 +00:00
Ilia Alshanetsky
30dd6a45d3
Fixed a possible crash when PATH_INFO is not provided but the path contains
...
path info information
2007-05-20 15:56:10 +00:00
Dmitry Stogov
633aff5541
Fixed bug #41378 (fastcgi protocol lacks support for Reason-Phrase in "Status:" header)
2007-05-15 08:17:08 +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
Johannes Schlüter
9edf1dc617
- MFH: Fix build without reflection
2007-05-06 12:57:50 +00:00
Marcus Boerger
3cd6bc54bc
- MFH --ri does not require ext/Reflection
...
- MFH --ini to show ini files being used
2007-05-05 16:21:07 +00:00
Edin Kadribasic
567c9daeae
Update Apache 2 libs to 2.0.59 on the build box and standardize the dirs
2007-05-04 18:17:55 +00:00
Uwe Schindler
88bef568da
MFH: Fix crash on server startup when log message is printed
2007-04-27 00:29:26 +00:00
Hannes Magnusson
42170968cf
MFH: php --ri main
2007-04-25 09:56:29 +00:00
Johannes Schlüter
3d7dd44ceb
- MFH: Add my name (sync to CREDITS file)
2007-04-23 20:54:22 +00:00
Antony Dovgal
a10cd19d05
MFH: fix long options
2007-04-23 11:05:16 +00:00
Marcus Boerger
f62d5c9adf
- MFH getopt fixes
2007-04-22 15:31:16 +00:00
Dmitry Stogov
52a9667c3a
Fixed tests
2007-04-19 07:00:41 +00:00
Antony Dovgal
695e81c2cc
fix test
2007-04-17 20:17:25 +00:00
foobar
4f54b301ef
- Fix a possible leak when multiple -c parameters are used
2007-04-17 20:00:53 +00:00
Antony Dovgal
a0370cd797
add tests for CGI
2007-04-17 19:49:26 +00:00
foobar
75d8d28e71
- Fix a possible leak when multiple -c parameters are used
2007-04-17 19:46:13 +00:00
Antony Dovgal
44066f23b7
MFH: fix leak appearing when more than one -f option specified
2007-04-17 18:51:34 +00:00
foobar
2fe7267d53
MFH: Simplify previous patch.
2007-04-15 23:06:08 +00:00
foobar
a40b6f5c4f
- Allow using syntax highlighting under FastCGI mode.
2007-04-15 22:52:07 +00:00
foobar
c71b1401ff
- Synch these files from sapi/cli/ and allow using s.c. long-options
...
with CGI.
2007-04-15 22:50:58 +00:00
Antony Dovgal
61a3b763d8
fix tests
2007-04-13 12:29:32 +00:00
Dmitry Stogov
857f992cd3
Removed wrong size_t definition
2007-04-09 15:39:59 +00:00
Sara Golemon
52b07d1895
Add missing #if check
2007-03-29 18:47:04 +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
foobar
1c36d38891
- Fix test: Some people actually use --enable-debug here..
2007-03-28 12:25:33 +00:00
Antony Dovgal
481609c980
MFH: fix #40392 (memory leaks in PHP milter SAPI)
2007-03-28 10:08:31 +00:00
Johannes Schlüter
d95939d566
- MFH: Fix handling of not existing long CLI options
2007-03-22 21:35:41 +00:00
Marcus Boerger
68c1c83149
- MFH Fix issue with long form of command line switches
2007-03-21 23:20:21 +00:00
Antony Dovgal
722287a538
fix tests
2007-03-17 19:16:17 +00:00
Dmitry Stogov
1e13ef2de5
Fixed compilation warning
2007-03-12 07:39:01 +00:00
Dmitry Stogov
c2a71f8eb1
Return HTTP 403 in case of "access denied".
2007-03-09 16:46:07 +00:00
Uwe Schindler
ad336e432a
remove (large) static buffers for header names and request uri
2007-03-06 18:15:25 +00:00
Uwe Schindler
e25bb8ea04
use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now)
2007-03-06 15:43:49 +00:00
Uwe Schindler
f34ec4f606
snprintf patch
2007-03-05 16:29:18 +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
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
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
Michael Wallner
d724f9cfb1
MFH: call ap_set_content_type() only once, else each time we call it,
...
configured output filters for that content type will be added
2006-05-28 20:32:00 +00:00
Dmitry Stogov
630def46f7
Fixed bug #37496 (FastCGI output buffer overrun)
2006-05-25 06:40:04 +00:00
Dmitry Stogov
6fe36adf0c
Fixed bug #37256 (php-fastcgi dosen't handle connection abort)
2006-05-24 09:42:21 +00:00
Dmitry Stogov
07b8d051fa
Fixed bug #37341 ($_SERVER in included file is shortened to two entries, if $_ENV gets used).
2006-05-24 07:55:19 +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
Edin Kadribasic
52566bba75
Give exe files 8MB stack (same default as on Linux) instead of Windows default 1MB
2006-05-18 21:46:12 +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
Rasmus Lerdorf
6fb0bf80ea
Switch to a signed int for now. Will look at moving to a long throughout
...
the code here.
2006-05-13 21:50:28 +00:00
Dmitry Stogov
1f41b288e9
Fixed bug #37306 (max_execution_time = max_input_time)
2006-05-11 22:10:31 +00:00
Rasmus Lerdorf
4df7ab403c
Add input_filter hook call in getenv()
2006-05-10 21:19:32 +00:00
Marcus Boerger
77c1b56cd7
- Update after api changes
2006-05-10 00:00:13 +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
Edin Kadribasic
12a5d2b547
Enable parallel build against Apache 2.2 libs and headers
2006-05-07 00:09:20 +00:00