Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +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
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
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
29e1530cd7
Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs
2006-08-03 09:56:50 +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
29ed52ffa4
New memory manager
2006-07-18 09:06:33 +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
Rasmus Lerdorf
4df7ab403c
Add input_filter hook call in getenv()
2006-05-10 21:19:32 +00:00
Ilia Alshanetsky
46ba651680
MFH:
...
Removed extra space in the Content-Type header for logos
Simplified stderr error reporting in apache sapi.
2006-04-02 17:58:17 +00:00
Antony Dovgal
8068342483
MFH: fix #36400 (Custom 5xx error does not return correct HTTP response error code)
2006-02-15 11:09:05 +00:00
Rasmus Lerdorf
4d64a617c3
MFH: I don't recall the reason for messing with r->allowed here, so let's
...
get rid of it (and see who screams). This should fix bug #32561
2006-01-06 18:06:38 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Andrei Zmievski
e6ae0e99c3
MFH
2005-12-16 22:45:12 +00:00
Antony Dovgal
e5928942ac
MFH: initialize SG(request_info).auth_digest
2005-10-18 23:51:54 +00:00
Ilia Alshanetsky
24046edbbb
MFH: Fixed bug #34905 (Digest authentication does not work with Apache 1).
2005-10-18 23:15:28 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Dmitry Stogov
cf6bb99723
Fixed bug #33723 (php_value overrides php_admin_value)
2005-08-01 07:46:54 +00:00
Brian France
3137e1e422
Added a SG(server_context) NULL check to php_apache_getenv.
...
This can get called when "<key> = ${<key>}:/foo" is used in a .ini file, but <key> has not be set yet.
You will end up with a value of ":/foo", but at least it will not crash now.
2005-06-28 16:34:18 +00:00
Antony Dovgal
8be61d707f
fix #29683 (headers_list() returns empty array)
2005-06-20 12:46:34 +00:00
Rasmus Lerdorf
091bff3570
Fix for bug #33057 - Don't send extraneous entity-headers on a 304 as per
...
RFC 2616 section 10.3.5
2005-05-19 15:57:45 +00:00
Rui Hirokawa
8235a70ef9
added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication.
2005-04-04 15:06:36 +00:00
Rasmus Lerdorf
3c0411c496
Fix for bug #32263
...
This adds proto_num to request_info. It is defaulted to HTTP 1.0 (1000)
such that it has a valid value even if the underlying sapi doesn't set it
correctly. It is then used to determine if a 302 or a 303 should be sent
on a Location redirect. Any non GET/HEAD HTTP 1.1 redirect will get a 303
instead of a 302 to be compatible with the HTTP spec.
2005-03-14 19:25:39 +00:00
Rasmus Lerdorf
cad60c3760
Add SAPI hook to get the request time if provided by the web server,
...
otherwise call time(0) on the first call and store it so subsequent
calls will get the same time. Hook support for Apache1/2 included.
2004-08-10 17:40:00 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Stefan Esser
446f4d1bc2
Security Fix broken! Destroyed Basic auth. Blame: me
...
4.3.x not affected
2004-07-14 09:43:26 +00:00
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
2004-07-10 07:46:17 +00:00
Rasmus Lerdorf
44df89f00d
MFB - see bug #25753 for details
2004-01-28 17:49:49 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Rasmus Lerdorf
a516171dec
MFB - fix a couple of missing closing folding tags
2003-06-03 05:44:17 +00:00
Edin Kadribasic
d758f2ea0b
Reverting my last patch because user reports it does not help
...
solve the problem. (bug #23504 )
2003-05-09 09:11:14 +00:00
Edin Kadribasic
97f3a35d73
Fixed MFB side effect
2003-05-08 14:42:31 +00:00
Edin Kadribasic
6f0e0a61b6
MFB
2003-05-08 09:27:18 +00:00
Sterling Hughes
3f700e58ab
update php module name to php5, not php4.
...
apache, apache2* and cli/cgi work.
sapi module maintainers should fix up their sapis, as I don't run
any servers with php outside of apache.
2003-03-29 04:52:46 +00:00