Commit Graph

1825 Commits

Author SHA1 Message Date
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.
2004-12-04 07:16:44 +00:00
Marcus Boerger
c51e49147e BFN 2004-11-27 10:16:13 +00:00
Ilia Alshanetsky
0802b1286d Make request start time be available via $_SERVER['REQUEST_TIME'].
# As discussed on internals.
2004-10-24 17:41:13 +00:00
Ilia Alshanetsky
4b947b0525 Allow gettimeofday() return a float if optional argument is specified. 2004-10-21 21:20:52 +00:00
Ilia Alshanetsky
7d18ca4c93 Added sqlite_fetch_column_types() 3rd argument for arrays. 2004-10-14 23:19:38 +00:00
Ilia Alshanetsky
51ffc01776 Added optional offset parameter to file_get_contents(). 2004-10-13 23:26:29 +00:00
Ilia Alshanetsky
2390ca71f1 MFH: Added optional offset parameter to stream_get_contents(). 2004-10-12 23:25:24 +00:00
Christian Stocker
c118443546 this NEWS entry should have gone into PHP_5_0 branch. sorry 2004-10-08 14:51:55 +00:00
Christian Stocker
bd99d77bf6 - Fixed bug #27183 (Userland stream wrapper segfaults on stream_write)
Was applied to PHP 4 ages ago, but not to PHP 5 branch
2004-10-08 14:40:11 +00:00
Marcus Boerger
ee40e4dc90 Style... 2004-10-06 21:31:00 +00:00
Andi Gutmans
a952a1bf76 - If we're going to mention the low level stuff then also give credit
- to Thies and Sterling
2004-10-06 00:01:38 +00:00
Marcus Boerger
d9ad917fe7 Add more improvements done so far 2004-10-05 18:58:26 +00:00
Marcus Boerger
0358d81ecf Update 2004-10-05 18:40:06 +00:00
Andrey Hristov
b76deb94a3 give credits to David 2004-09-27 22:13:36 +00:00
Andi Gutmans
daa52df47a - Only 5.0.x news which we'll copy over before 5.1.0 release 2004-09-16 00:47:25 +00:00
Andi Gutmans
d098a077e4 - News 2004-09-16 00:46:20 +00:00
Sara Golemon
34550382d8 Added stream_filter_remove() to cancel a stream filter.
Register filters as resources when
instantiated by stream_filter_(ap|pre)pend().

Export php_stream_filter_flush() internal function to wind buffered data
out of a particular filter until consumed by a later filter or sent to
stream->readbuffer or stream->ops->write()
2004-09-14 03:48:17 +00:00
Sara Golemon
955b43ba12 Add stream_wrapper_unregister()
Disables a wrapper (user-defined or built-in) for the life of the request.

Add stream_wrapper_restore()
Restores the wrapper originally defined at the time the request started
to the protocol name mentioned.
2004-09-10 20:45:35 +00:00
Sara Golemon
a85bff9796 Protocol version context option and chunked transfer encoding 2004-09-07 19:27:11 +00:00
Derick Rethans
ea5d8fcf1d - Those two are already in the NEWS for 5.0.2. 2004-08-25 06:37:47 +00:00
Andi Gutmans
69aa60a947 - Improve wording 2004-08-25 01:06:18 +00:00
Andi Gutmans
99cae17cd0 - MFB 2004-08-25 01:04:41 +00:00
Andrei Zmievski
f30355a7df MFB. 2004-08-24 20:58:59 +00:00
Andi Gutmans
e762b69ccb - Fix typo 2004-08-24 01:04:57 +00:00
Andi Gutmans
88b9c69cb2 - Improve wording 2004-08-23 20:19:37 +00:00
Andi Gutmans
4c5fd67f7c - NEWS 2004-08-23 20:18:10 +00:00
Derick Rethans
05bf7d9c65 - Little changes. 2004-08-23 09:01:08 +00:00
Derick Rethans
998f5221b5 - Order and removed a bugfix which was already in 5.0.2/ 2004-08-20 06:14:42 +00:00
Brian France
2f97097e0f If you send a post with a content-type header and then the next post without the content-type header, raw_post_data will not be set. This is because SG(request_info).post_entry is set to the first requests function pointer which makes it follow the wrong code path. 2004-08-19 20:26:39 +00:00
Marcus Boerger
4319872812 Janify [tm] 2004-08-19 18:15:48 +00:00
Antony Dovgal
5d7d4a55aa BFN 2004-08-19 15:22:17 +00:00
Marcus Boerger
f97066dc17 BFN + reorder 2004-08-19 07:45:24 +00:00
Andrei Zmievski
fe5c131a0d Re-add my patch for .ini variable access. 2004-08-18 16:58:20 +00:00
Christian Stocker
98dd7282be Forgot to add DomDocumentFragment->appendXML(), when I commited it back then 2004-08-13 12:35:56 +00:00
Christian Stocker
e99c375606 Added DomDocument->recover property for parsing not well-formed XML Documents. 2004-08-13 12:32:55 +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
Dmitry Stogov
426443cc18 Changed bugs order. 2004-08-10 16:43:20 +00:00
Dmitry Stogov
de46ba2ea5 Fixed bug #28969 (Wrong data encoding of special characters). 2004-08-10 16:11:41 +00:00
Dmitry Stogov
bcdab8f7e6 Fixed bug #29256 (SOAP HTTP Error when envelop size is more than 24345 bytes) 2004-08-10 14:57:47 +00:00
Andi Gutmans
b4faef2fe3 - MFB 2004-08-10 05:42:21 +00:00
Derick Rethans
92df5e9af9 - Fixed speling and some reordering 2004-08-09 15:56:51 +00:00
Sara Golemon
75f4ec8879 New Functions inet_pton() and inet_ntop() 2004-08-07 04:50:24 +00:00
Antony Dovgal
22bbf75b5f news entry 2004-08-05 14:13:13 +00:00
Georg Richter
b6da3465bc fixed bug #29522 2004-08-04 12:59:26 +00:00
Marcus Boerger
8ff8c8cc49 MFHed 2004-08-03 17:07:40 +00:00
Marcus Boerger
546b9b97ca BFN 2004-08-03 16:41:12 +00:00
Christian Stocker
274dbb1b75 Remove News entry, which is already in 5.0 2004-07-29 06:40:45 +00:00
Christian Stocker
5f888422d9 Fix for bug #29409 (Segfault in PHP functions called from XSLT). (by Rob) 2004-07-28 12:40:53 +00:00
Georg Richter
485f862b35 fixed bug #29335 2004-07-26 07:19:05 +00:00
Georg Richter
dede51adf6 fixed bug in mysql->client_version
added mysql->client_info property
2004-07-26 05:44:06 +00:00