Commit Graph

428 Commits

Author SHA1 Message Date
Antony Dovgal
94f128cfcf use int for length 2008-07-14 10:51:45 +00:00
Alexey Zakhlestin
6495bcca65 updated to the new parameter-parsing api (port from 5.3) 2008-06-28 10:16:25 +00:00
Scott MacVicar
2926ffea4d MFB: Fixed bug #45144 (ap_child_terminate() isn't available on threaded builds) 2008-06-01 16:10:46 +00:00
Elizabeth Marie Smith
8c285a77a3 MFB 2008-04-15 16:59:40 +00:00
Rasmus Lerdorf
b911467d1d MFB
Here are the signal changes from the 5.3 branch that optimizes signal
handler registration and switches from longjmp to siglongjmp in order
to make signal mask handling consistent across different UNIX operating
systems.
2008-03-19 16:37:49 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Jani Taskinen
cf4bd5590b - Fixed bug #42579 (apache_reset_timeout() does not exist) 2007-09-07 08:49:07 +00:00
Antony Dovgal
b219df4b67 fix build 2007-08-06 12:54:35 +00:00
Stanislav Malyshev
d4cc7daba2 MF5: fix for access control with .htaccess 2007-08-03 01:40:05 +00:00
Antony Dovgal
7753ebafd1 fix win32 build 2007-07-16 19:02:43 +00:00
Jani Taskinen
7c44729e41 - Cleanup and simplify 2007-07-16 13:41:12 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Jani Taskinen
dee01c13ad - Changed all AC_ARG_* options to PHP_ARG_* options and cleaned up some 2007-07-11 23:10:14 +00:00
Scott MacVicar
91bcba1f1d MFB: Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3). 2007-06-18 15:57:00 +00:00
foobar
6504c24187 - Fixed bug #41576 (misbehaviour when using --without-apxs) 2007-06-03 20:26:45 +00:00
Andrei Zmievski
7963278bf4 Fake out the module name, since the filename is different now. 2007-01-11 23:18:11 +00:00
Andrei Zmievski
0b222980d0 Rename php5 module to php6. Remove version number from
sapi/apache/mod_php.* filenames (for future's sake). No other SAPI
moduels modified (up to invididual maintainers).
2007-01-10 23:46:09 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
5a14146e28 use strlcat() 2006-12-28 13:30:18 +00:00
Dmitry Stogov
a7c536fbcd Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
ny 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:50:46 +00:00
Ilia Alshanetsky
3642ebdcdd Added filter support for $_SERVER in cgi/apache2 sapis
Make sure PHP_SELF if filtered in Apache 1 sapi
2006-10-23 19:17:51 +00:00
Brian France
8767cd2df4 MFB:
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:13:07 +00:00
Derick Rethans
ee67c9ae3f - Updated the Apache 1.3 sapi as add_assoc_string's signature has been changed. 2006-09-27 18:18:59 +00:00
Nuno Lopes
2320354d66 MFB: more int->zend_bool conversions 2006-09-06 11:55:12 +00:00
Dmitry Stogov
c6fdecc906 Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs 2006-08-03 09:57:05 +00:00
Michael Wallner
29438e890a - fix TS issue found by Jani 2006-07-25 20:22:28 +00:00
Dmitry Stogov
61d39cf1c1 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:41:08 +00:00
Dmitry Stogov
6687f0377b New memory manager 2006-07-18 09:08:06 +00:00
Michael Wallner
231ad17475 - explicit usage of TS macros
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Rasmus Lerdorf
9b985490f6 We might want to consider moving this to a long throughout the sapi code,
but for now switch to a signed int.
2006-05-13 21:48:14 +00:00
Rasmus Lerdorf
839c3e24a3 MFB input filter hook for getenv() 2006-05-10 21:25:01 +00:00
Edin Kadribasic
80ac536d13 MFB: Correctly import external data (#33292) 2006-04-26 09:32:11 +00:00
Ilia Alshanetsky
ae08857016 Removed extra space in the Content-Type header for logos
Simplified stderr error reporting in apache sapi.
2006-04-02 17:58:07 +00:00
Ilia Alshanetsky
87c4a01b87 Nuke safe_mode from sapi/*
# only main/ remains at this point, this is the next step
2006-03-07 14:43:16 +00:00
Pierre Joye
303bfea78f - remove register_globals support (aka "Kill the f***ing thing" :) 2006-03-07 00:20:54 +00:00
Dmitry Stogov
6f7619cf6f Unicode support: zstr union 2006-03-01 16:27:47 +00:00
Antony Dovgal
eb49217161 fix #36400 (Custom 5xx error does not return correct HTTP response error code) 2006-02-15 11:07:33 +00:00
Rasmus Lerdorf
4930c2fa31 Let's not mess with r->allowed here - this should fix bug #32561 2006-01-06 17:54:35 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Andrei Zmievski
14df4af00e I see no reason no reason to not support chunked encoding requests.
Let's ask Apache to decode these requests for us.
2005-12-15 00:27:25 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
5ee664f80e nuke php3 legacy 2005-12-06 01:13:59 +00:00
foobar
89199c43b2 - Nuke non-working part 2005-12-04 23:31:33 +00:00
Antony Dovgal
65e6b4fafa initialize SG(request_info).auth_digest to NULL and prevent segfaults 2005-10-18 23:51:36 +00:00
Ilia Alshanetsky
cddb5c624a Fixed bug #34905 (Digest authentication does not work with Apache 1). 2005-10-18 23:14:47 +00:00
foobar
4b8025987f - Unused 2005-08-12 00:06:15 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00