Dmitry Stogov
29ed52ffa4
New memory manager
2006-07-18 09:06:33 +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
Michael Wallner
23b8ce3876
- fix php_apache_sapi_header_handler() modifying sapi_header
...
# already taken care of in apcache1 sapi
2006-03-19 14:54:53 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Ilia Alshanetsky
00b9392bf5
Fixed bug #35571 (Fixed crash in Apache 2 SAPI when more then one php
...
script is loaded via SSI include).
2005-12-14 03:36:44 +00:00
Ilia Alshanetsky
110344d65c
Fixed bug #35278 (Multiple virtual() calls crash Apache 2 php module).
2005-11-18 18:59:49 +00:00
Ilia Alshanetsky
8f514cd18c
MFH: Resolve Apache 2 regression with sub-request handling on non-linux
...
systems.
2005-11-17 21:00:28 +00:00
Ilia Alshanetsky
51d8950b53
Additional tweaks to the patch for bug #34249 .
2005-10-26 15:08:23 +00:00
Antony Dovgal
f4371b9cc6
fix bug #34581 (crash with mod_rewrite)
2005-10-12 21:24:09 +00:00
Ilia Alshanetsky
f2ed06347b
MFH: Fixed possible INI setting leak via virtual() in Apache 2 sapi.
2005-10-05 00:43:38 +00:00
foobar
8c4d1f6657
MFH
2005-09-02 13:51:47 +00:00
Ilia Alshanetsky
e134382a71
MFH: Fixed bug #33987 (php script as ErrorDocument causes crash in Apache 2).
2005-08-18 01:14:42 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Rasmus Lerdorf
884c97d4d7
MFB fix for bug #33690
2005-07-25 22:38:11 +00:00
Antony Dovgal
8be61d707f
fix #29683 (headers_list() returns empty array)
2005-06-20 12:46:34 +00:00
foobar
7af1dfa8cb
- Fixed bug #32587 (Apache2: errors sent to error_log do not include timestamps)
2005-04-08 20:32:14 +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
Joe Orton
bef3202d9e
- Fixed bug #31717 : Reject PATH_INFO if "AcceptPathInfo off" is used.
2005-03-10 11:09:32 +00:00
Joe Orton
8288c451c0
Fixed bug #31519 : Set r->status_line to SAPI-provided status-line.
2005-01-17 12:24:40 +00:00
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
2004-12-16 12:34:32 +00:00
Stanislav Malyshev
9baa92c596
fix startup - if startup did not succeed, do not continue with execution
2004-12-06 18:55:30 +00:00
Stanislav Malyshev
f9c2324cd0
do not zero out peak - MM shutdown would do that
2004-12-06 18:48:35 +00:00
Joe Orton
1f364c1ee1
- always convert apr_time_t to time_t using apr_time_sec() to be future-proof.
...
- print apr_time_t values using APR_TIME_T and apr_snprintf.
- remove redundant add_property_long calls.
2004-10-23 13:48:05 +00:00
Joe Orton
516a19f1ec
Fix the get_request_time implementation for the 2.0 SAPIs to return
...
seconds not microseconds and to use TSRM stuff correctly.
2004-10-23 12:56:20 +00:00
Joe Orton
1ef6c7add1
Fix case where php_handle_aborted_connection was called outside a
...
try/end_try block (#25570 ).
2004-10-20 09:28:47 +00:00
Marcus Boerger
364c2fe5a2
TSRM fix
2004-08-11 20:51:41 +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
Moriyoshi Koizumi
2af6d0e1ab
- request_dtor() should be called if a fatal error occurs during activation
...
phase.
2004-07-17 21:29:50 +00:00
Edin Kadribasic
42f7b8026c
MFB: Memory leak fix (patch by Joe Orton)
...
Fixes #28113 . Adapted to php5 by Magnus Määttä.
2004-06-25 13:00:48 +00:00
Ilia Alshanetsky
cfbf5b24b7
Fixed bug #28818 (Apache 2 sapis do not export st_dev).
2004-06-18 00:36:58 +00:00
Ilia Alshanetsky
39baa271b6
Fixed bug #27580 (pre-initialization errors in ap2 handler are not being
...
written to vhost error log).
Stop using depreciated and ignored APLOG_NOERRNO directive.
Make file not found & directory as script invocation error messages more
descriptive.
2004-03-16 22:38:07 +00:00
Ilia Alshanetsky
c828007fdf
Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs).
2004-03-08 03:15:45 +00:00
Rui Hirokawa
815fe886b8
fixed a compilation error.
2004-02-11 00:45:07 +00:00
Ilia Alshanetsky
67dd730546
Fixed bug #27196 (Missing content_length initialization in apache 2 sapis).
2004-02-09 23:27:43 +00:00
Ilia Alshanetsky
dfaa06dbd7
Apache 2 portion of the fix for bug #25753 .
2004-01-29 15:18:26 +00:00
Ilia Alshanetsky
7d31f3772c
Fixed bug #27037 (fixed possible crash in apache2handler output code).
2004-01-29 02:16:47 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
7930ddce0a
Make apache2handler build with new build system.
...
Perhaps also make it build with .dsp system too...
2003-12-19 18:28:56 +00:00
Ilia Alshanetsky
1628eb1074
Fixed bug #26604 (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia)
2003-12-12 17:19:11 +00:00
foobar
4dfbc210db
Fixed bug #25768
2003-10-21 11:48:31 +00:00
Ilia Alshanetsky
ffb57ad555
Fixed bug #25701 (On flush() set headers_sent in apache2handler)
2003-10-02 03:24:36 +00:00
Ilia Alshanetsky
2998eeaf0d
Fixed bug #25570 (Possible crash in apache2handler when zend_bailout called
...
outside of zend_try {} block).
2003-09-19 00:44:50 +00:00
Ilia Alshanetsky
10aae5e671
Fixed bug #24958 (Incorrect handling of 404s)
2003-08-06 22:33:18 +00:00
Uwe Schindler
52da23faf4
Fix Win32 Build because of missint TSRM stuff
2003-08-03 11:22:53 +00:00
Ilia Alshanetsky
d2bf1c1338
Fixed bug #24177 (Status not set correctly after flush() in Apache 2)
2003-08-02 18:29:30 +00:00
Ilia Alshanetsky
2b768e8bdc
Fixed bug #22072 (Apache2 sapis do not detect aborted connections).
2003-08-01 20:20:11 +00:00
foobar
d6430ab79f
- Fixed bug #21074 (Apache2: "ErrorDocument xxx /error.php" broken). (Jani)
2003-07-11 04:23:34 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Ilia Alshanetsky
2f15b2062c
Fixed bug #23759 (PHP doesn't preserve subrequest status).
...
(jaboydjr.netwalk@com, Ilia)
2003-05-23 02:41:59 +00:00