Joe Orton
8288c451c0
Fixed bug #31519 : Set r->status_line to SAPI-provided status-line.
21 years ago
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
21 years ago
Stanislav Malyshev
9baa92c596
fix startup - if startup did not succeed, do not continue with execution
21 years ago
Stanislav Malyshev
f9c2324cd0
do not zero out peak - MM shutdown would do that
21 years ago
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.
22 years ago
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.
22 years ago
Joe Orton
1ef6c7add1
Fix case where php_handle_aborted_connection was called outside a
try/end_try block (#25570 ).
22 years ago
Marcus Boerger
364c2fe5a2
TSRM fix
22 years ago
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.
22 years ago
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.
22 years ago
Moriyoshi Koizumi
2af6d0e1ab
- request_dtor() should be called if a fatal error occurs during activation
phase.
22 years ago
Edin Kadribasic
42f7b8026c
MFB: Memory leak fix (patch by Joe Orton)
Fixes #28113 . Adapted to php5 by Magnus Määttä.
22 years ago
Ilia Alshanetsky
cfbf5b24b7
Fixed bug #28818 (Apache 2 sapis do not export st_dev).
22 years ago
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.
22 years ago
Ilia Alshanetsky
c828007fdf
Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs).
22 years ago
Rui Hirokawa
815fe886b8
fixed a compilation error.
22 years ago
Ilia Alshanetsky
67dd730546
Fixed bug #27196 (Missing content_length initialization in apache 2 sapis).
22 years ago
Ilia Alshanetsky
dfaa06dbd7
Apache 2 portion of the fix for bug #25753 .
22 years ago
Ilia Alshanetsky
7d31f3772c
Fixed bug #27037 (fixed possible crash in apache2handler output code).
22 years ago
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
22 years ago
Wez Furlong
7930ddce0a
Make apache2handler build with new build system.
Perhaps also make it build with .dsp system too...
22 years ago
Ilia Alshanetsky
1628eb1074
Fixed bug #26604 (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia)
22 years ago
foobar
4dfbc210db
Fixed bug #25768
23 years ago
Ilia Alshanetsky
ffb57ad555
Fixed bug #25701 (On flush() set headers_sent in apache2handler)
23 years ago
Ilia Alshanetsky
2998eeaf0d
Fixed bug #25570 (Possible crash in apache2handler when zend_bailout called
outside of zend_try {} block).
23 years ago
Ilia Alshanetsky
10aae5e671
Fixed bug #24958 (Incorrect handling of 404s)
23 years ago
Uwe Schindler
52da23faf4
Fix Win32 Build because of missint TSRM stuff
23 years ago
Ilia Alshanetsky
d2bf1c1338
Fixed bug #24177 (Status not set correctly after flush() in Apache 2)
23 years ago
Ilia Alshanetsky
2b768e8bdc
Fixed bug #22072 (Apache2 sapis do not detect aborted connections).
23 years ago
foobar
d6430ab79f
- Fixed bug #21074 (Apache2: "ErrorDocument xxx /error.php" broken). (Jani)
23 years ago
James Cox
f68c7ff249
updating license information in the headers.
23 years ago
Ilia Alshanetsky
2f15b2062c
Fixed bug #23759 (PHP doesn't preserve subrequest status).
(jaboydjr.netwalk@com, Ilia)
23 years ago
Moriyoshi Koizumi
af32730476
Revert the last patch.
# sorry for the annoyance
23 years ago
Moriyoshi Koizumi
0d39841728
Oops
23 years ago
Moriyoshi Koizumi
e54919d230
Fixed bug #23610
23 years ago
Moriyoshi Koizumi
edac258751
Possible fix for bug #23455 (patch by rrichards@digarc.com)
23 years ago
Ilia Alshanetsky
f7d72d178d
Fixed bug #23232 (safe_mode does not honor PHP_AUTH_* in apache2)
23 years ago
Stanislav Malyshev
6f08d5e759
Make Apache 2 define SG(request_info).path_translated like Apache 1 did.
23 years ago
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.
23 years ago
foobar
7e0aea7efe
CS fix
23 years ago
Ian Holsman
0cef2e7df8
change to a pool-based bucket instead of a transient one.
23 years ago
Ian Holsman
c5fd930eea
remove flush from standard unbuffered write.
people requiring a flush can turn implicit flush on.
Thanks ilia for benchmarking this!
23 years ago
Edin Kadribasic
5d381f8f80
MFB and more. Fixed various win32 compilation issues. Also the sapi
is now built as php4apach2.dll since the filter is being obsoleted.
23 years ago
Ilia Alshanetsky
519721851f
Fixed bug #22805 (Reading of user input could stop prematurely).
23 years ago
foobar
6121c846b3
whitespace..
23 years ago
Ian Holsman
2697be632c
PR#22672 - User not logged under Apache2
patch provided by Andrew Bradford.
23 years ago
Ilia Alshanetsky
97418f59bd
CS Fixes.
Fixed a bug with 404 handling.
Added more detailed Apache info for phpinfo().
Added the support for last_modified.
23 years ago
foobar
45964cb629
- Fix for some unixware compile problem. (comment by Sascha :)
23 years ago
Justin Erenkrantz
a7df9995cc
Add xbithack support to apache2handler SAPI.
(configuration doesn't work, but that's not something new apparently.)
23 years ago
Justin Erenkrantz
9729930343
Clean up apache2handler SAPI.
Key improvements:
- Be streamy
- Re-enable virtual() support
- Set content_type correctly
- Remove unnecessary code and reintroduce some missing code
- Change signature from PhP to PHP
23 years ago