1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Commit Graph

102 Commits

Author SHA1 Message Date
Dmitry Stogov 8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Jani Taskinen cf4bd5590b - Fixed bug #42579 (apache_reset_timeout() does not exist) 2007-09-07 08:49:07 +00:00
Sebastian Bergmann 3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal 5a14146e28 use strlcat() 2006-12-28 13:30:18 +00:00
Derick Rethans ee67c9ae3f - Updated the Apache 1.3 sapi as add_assoc_string's signature has been changed. 2006-09-27 18:18:59 +00:00
Nuno Lopes 2320354d66 MFB: more int->zend_bool conversions 2006-09-06 11:55:12 +00:00
Michael Wallner 29438e890a - fix TS issue found by Jani 2006-07-25 20:22:28 +00:00
Michael Wallner 4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Edin Kadribasic 80ac536d13 MFB: Correctly import external data (#33292) 2006-04-26 09:32:11 +00:00
Ilia Alshanetsky 87c4a01b87 Nuke safe_mode from sapi/*
# only main/ remains at this point, this is the next step
2006-03-07 14:43:16 +00:00
foobar 251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar 5ee664f80e nuke php3 legacy 2005-12-06 01:13:59 +00:00
foobar 23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Rasmus Lerdorf 3d297bf881 Fix proto 2004-12-04 13:47:13 +00:00
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
Andi Gutmans dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
foobar 1aa5bab89c Nuke warning 2003-09-09 21:38:31 +00:00
foobar 0c0d3a41d1 fix typo 2003-09-09 21:34:12 +00:00
foobar f04643ee4c Show the runtime version of Apache instead of compile time. 2003-09-09 21:30:48 +00:00
Ilia Alshanetsky 21d5061038 Fixed format bug 2003-08-28 17:48:58 +00:00
James Cox f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Sebastian Bergmann 5ca078779a Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32. 2003-03-25 08:07:13 +00:00
Stig Bakken 0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
foobar 3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
Ilia Alshanetsky 8a9e09a44a ARG_COUNT(ht) -> ZEND_NUM_ARGS(). 2003-01-21 14:56:40 +00:00
Ilia Alshanetsky c794f2c710 Removed pointless memory allocation checks. 2003-01-18 20:27:05 +00:00
Derick Rethans c175f3545c - Fix docrefs 2003-01-03 21:33:31 +00:00
Derick Rethans 0127c07e45 - Fix typo (patch by Joseph Tate) 2003-01-03 21:30:49 +00:00
Sebastian Bergmann 2c5d4b8c23 Bump year. 2002-12-31 15:59:15 +00:00
Ilia Alshanetsky 097055a862 Make the version code get the version from the current Apache, rather then
the Apache PHP was compiled against.
2002-12-27 23:05:15 +00:00
Ilia Alshanetsky 648dd88b42 Added apache_get_version() & apache_get_modules() to Apache 1.X & Apache
Hooks sapis.
Made the module listing in Apache 2 not show the '.c' portion, to be
consistent with Apache 1.X.
2002-12-27 22:47:06 +00:00
Marcus Boerger ae35c4731f php_error -> php_error_docref 2002-12-05 23:18:28 +00:00
Sascha Schumann 2909e5c9c9 centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
2002-10-24 13:15:49 +00:00
Colin Viebrock c7c275b741 fix phpinfo() output for better browser BC 2002-09-26 17:54:54 +00:00
Colin Viebrock 14a6cc8847 Change phpinfo() to use CSS styling instead of HTML code.
It doesn't render as nicely as it used to on older browsers, but it
does result in smaller files, and opens the door to using your own CSS
to style it differently.

There is a patch to Zend/zend_ini.c, but I don't have enough Karma, so
Derick has the patch.
2002-09-19 21:57:25 +00:00
Rasmus Lerdorf cd9bb8e555 Fix proto 2002-08-13 04:03:20 +00:00
Sascha Schumann 190b65f4a1 Fix build 2002-06-01 17:38:23 +00:00
Andi Gutmans 0d5862d75a - Reapply netware patch 2002-06-01 10:27:51 +00:00
Rasmus Lerdorf f01a42b499 Put Netware header and comment back in. My CVS revision id got messed
up somehow.
2002-06-01 09:54:28 +00:00
Rasmus Lerdorf b66f48c3ce Oops 2002-05-31 23:52:07 +00:00
Rasmus Lerdorf 6b756ea46c @ Renamed getallheaders() to apache_request_headers() and kept
@ getallheaders() as an alias to it.  Also added apache_response_headers()
@ which returns the current response headers from Apache.
Renamed getallheaders() to apache_request_headers() and kept
getallheaders() as an alias to it.  Also added apache_response_headers()
which returns the current response headers from Apache.
2002-05-31 23:49:49 +00:00
Venkat Raghavan S ecdbaeced1 Removed ugly code done as part of NetWare change, upon Andi's advice. Now, the typecasting is done for all platforms. 2002-05-31 09:07:12 +00:00
Venkat Raghavan S 575e3682f5 NetWare related changes 2002-05-31 04:49:45 +00:00
Hartmut Holzgraefe 4852dd3569 apache_child_terminate() returns status as bool
proto fixes
2002-04-23 11:40:19 +00:00
foobar dace2eca03 Part 4 of apache sapi build fixes:
- Fixed many conflicts caused by bogus includes, e.g the infamous XtOffset
  redefinition warning is gone now.
2002-04-23 03:01:30 +00:00
Sebastian Bergmann 90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Hartmut Holzgraefe 052d5fc85d proto fix 2001-12-15 14:23:07 +00:00
Sebastian Bergmann 38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Hartmut Holzgraefe df6f8ba35a proto fix 2001-12-04 22:14:28 +00:00