Joe Orton
62121a1840
Fixed regression #31645 - only flush before running the subrequest.
21 years ago
foobar
2c65e09a4b
- Revert the weird change of ZEND_STRS() macro and use the correct
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
21 years ago
Joe Orton
8288c451c0
Fixed bug #31519 : Set r->status_line to SAPI-provided status-line.
21 years ago
foobar
14058c83e6
- Fix another generated header include
21 years ago
Joe Orton
cb6605c1a5
Fixed bug #30446 - virtual() includes files out of sequence,
work around 2.0 subrequest/internal redirect issue.
21 years ago
foobar
376d5f6910
Fix ZTS build
21 years ago
foobar
40b9c63da1
- Fixed bug #28074 (FastCGI: stderr should be written in a FCGI stderr stream).
21 years ago
foobar
a139dbf9cc
- Fix outside-source-tree builds. Always include generated header files
with #include <some_header.h> to make sure the correct file is used.
21 years ago
foobar
05adbd51b4
- Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI)
21 years ago
foobar
69eec3f3b9
MFB_4_3: Quote macro names in AC_DEFUN()
21 years ago
Rasmus Lerdorf
fdaa130f3a
Add the new request_time sapi struct entry to all the sapis. Some of these
may have ways of getting the request time without the extra syscall, but
for now let's just make sure we don't crash and people will eventually
fill these in where applicable.
21 years ago
foobar
a903822561
Missing cvs id tag
21 years ago
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
21 years ago
Moriyoshi Koizumi
28cc55be0a
- Apply the same fix to apache2filter too.
21 years ago
Moriyoshi Koizumi
a0975f8dcf
- Fixlet for httpd-2.1 on Darwin platforms
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
Holger Zimmermann
b36a4c57ca
Replaced static server variables by function call and configurable list at the Pi3Web server side.
22 years ago
Rasmus Lerdorf
3d297bf881
Fix proto
22 years ago
Rasmus Lerdorf
224d2479b3
Add apache_reset_timeout() function for Apache1. This is needed because
Apache1 only resets the write timer, which defaults to 300 seconds, on
a successful write. That is, if the client has gone away and Apache
attempts a write which fails it will set the conn->aborted flag but not
reset the timeout. Assuming the PHP script is running in ignore_user_abort
mode we ignore the aborted flag, but we'll still get blown out of the water
300 seconds after the failed write unless we periodically reset the timer.
With set_time_limit(0), ignore_user_abort(true) and periodic
apache_reset_timeout() calls we can theoretically run forever which is
why I disabled this call in safe mode.
22 years ago
Antony Dovgal
71d9afee0c
fix CLI leaks when using malformed option string
22 years ago
Frank M. Kromann
1d04952b1d
Fix typo in man page. Bug #30727 . Patch by Jakub Vrana
22 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
Anantha Kesari H Y
315e58f2f6
As NetWare LibC has optind and optarg macros defined in unistd.h our local variables were getting mistakenly preprocessed so undeffing optind and optarg
22 years ago
Anantha Kesari H Y
ac5b702b91
removed redundant CLIB_STAT_PATCH checks for NETWARE
22 years ago
Anantha Kesari H Y
13163ad5e4
TSRMLS_FETCH should be called prior to accessing any of the SG members
22 years ago
Anantha Kesari H Y
d2e85c5c9a
NetWare now has a POSIX compliant stat structure so no need of CLIB_STAT_PATCH and all such macros
22 years ago
Uwe Schindler
74fe4ec0cb
changed order of processing of ini entries
22 years ago
Uwe Schindler
5e1f396849
Fixed bug #29805 (HTTP Authentication Issues)
22 years ago
Derick Rethans
6ffc1c291a
- MFB: Fixed Apache 2.0 SAPI build against Apache 2 HEAD. (Patch by Joe Orton)
22 years ago
Antony Dovgal
ad503c814b
MFB: typo in config.m4 (potential configuration problem with Stronghold)
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
Wez Furlong
3d9eeb4538
Move activescript sapi to PECL
22 years ago
Wez Furlong
9a19f065af
- Rename ProgID from ActivePHP (tm) to PHPScript (bah)
- Convert line-endings for error messages to CRLF
- Misc other tweaks
22 years ago
Wez Furlong
20eac88e58
Tidy up a few loose ends.
Override normal php.ini behaviour so that only the launching applications
folder is searched; this avoids picking up a default php.ini with an execution
time limit set.
22 years ago
Wez Furlong
ac87800760
Major re-jig.
With thanks to Rob Richards for tracking down a couple of big bugs caused by
teeny bits of code.
22 years ago
Rob Richards
6b0cc4b54d
fix build for VC++ 6
update dsp (Enable IObjectSafety)
22 years ago
Wez Furlong
e67ad79599
Enable IObjectSafety so that we can be used in the M$ scripting control.
Thanks to Rob for checking this out.
22 years ago
Edin Kadribasic
728b849529
Fix for #28929 by Michael Sisolak
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
546e5bbc43
Made php -m output sorted case-insensitevly
22 years ago
Stefan Esser
90f151470c
same bug.
22 years ago
Stefan Esser
446f4d1bc2
Security Fix broken! Destroyed Basic auth. Blame: me
4.3.x not affected
22 years ago
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
22 years ago
Sascha Schumann
f51ff68dfa
- revert to proper behaviour
22 years ago
Uwe Schindler
3bb7e73656
replace strncpy with strlcpy
22 years ago