Commit Graph

88 Commits

Author SHA1 Message Date
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
Stefan Esser
90f151470c same bug. 2004-07-14 09:55:24 +00:00
Andi Gutmans
e5cfb1d05c - Better stability during premature shutdown of request startup 2004-07-10 07:46:17 +00:00
Zeev Suraski
a2ea2d7173 Fix prototypes 2004-05-30 17:53:12 +00:00
Rasmus Lerdorf
a61c2d667c Fix applies to apache_hooks sapi as well. See bug #25753 for details. 2004-01-28 17:59:07 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Wez Furlong
331dc79254 More things for the new build system.
Pi3Web and aolserver build untested (no headers and libs for those here)
2003-12-19 20:39:04 +00:00
Hartmut Holzgraefe
f992fbfa2c proto fix 2003-11-19 20:13:49 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Edin Kadribasic
4aa1414623 Reverting last patch (merge from sapi/apache). 2003-05-09 09:13:01 +00:00
Edin Kadribasic
692b508957 Merge from sapi/apache (fix for #23504) 2003-05-08 09:31:08 +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
acc9c13c36 Build Fix. 2003-02-05 00:41:40 +00:00
Ilia Alshanetsky
13f8b211c4 Fixed compilation of Apache & Apache Hooks SAPIs. 2003-02-04 20:54:17 +00:00
Zeev Suraski
3a1a209baf Updates reflecting infrastructure changes 2003-02-04 13:12:48 +00:00
foobar
8040659c00 Make these configure messages differ from the regular apache configure 2003-02-03 15:42:11 +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
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
Ilia Alshanetsky
60a5aeef43 Fixed a few compile warnings and one compile error. 2002-12-10 20:16:30 +00:00
foobar
dd53efc196 - Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is. 2002-11-26 05:57:06 +00:00
George Schlossnagle
010fd97aa5 brief v1 documentation 2002-11-19 19:03:20 +00:00
George Schlossnagle
3bdfbd6d1e Props to Lukas as well 2002-11-19 18:57:38 +00:00
foobar
dad428b49e Add George to the credits and add note about it being different than the real Apache SAPI 2002-11-19 18:02:36 +00:00
foobar
5df80a262b Fix the configure.. 2002-11-19 17:58:10 +00:00
George Schlossnagle
c598b3ac16 now this works (thanks Rasmus)
Note:  the correct line is --with-apache-hooks
2002-11-19 01:20:42 +00:00
George Schlossnagle
0ad980c667 fixed recurrent entrance to add_cgi_vars 2002-11-18 19:07:37 +00:00
Edin Kadribasic
03fc9eb415 Initial attempt to get apache_hooks api to compile on windows.
Still getting link errors with
undefined symbol: 'php_request_startup_for_hook'.
2002-11-18 12:52:57 +00:00
Edin Kadribasic
f8026b7453 Updated windows build file. 2002-11-18 12:30:08 +00:00
Rasmus Lerdorf
a94a226691 Fix a few warnings - compiles nicely now 2002-11-18 06:14:10 +00:00
George Schlossnagle
2c34ea1be4 #defined offsetof, for systems that can't find it 2002-11-18 06:09:23 +00:00
George Schlossnagle
824fdad6c1 initial import of all these files. This was previously the apache_hooks
branch of the apache sapi.  Now it lives on its own.  General functionality
seems to be working, though there may be a problem with some
output buffering, most likely due to the way that sapi_deactivate needs
to be mangled with here.
2002-11-18 01:01:21 +00:00