Antony Dovgal
8be61d707f
fix #29683 (headers_list() returns empty array)
21 years ago
foobar
a20383ba06
- Unify the "configure --help" texts
21 years ago
foobar
0e57528666
No c++ comments in C code
21 years ago
Rui Hirokawa
8235a70ef9
added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication.
21 years ago
Rasmus Lerdorf
3c0411c496
Fix for bug #32263
This adds proto_num to request_info. It is defaulted to HTTP 1.0 (1000)
such that it has a valid value even if the underlying sapi doesn't set it
correctly. It is then used to determine if a 302 or a 303 should be sent
on a Location redirect. Any non GET/HEAD HTTP 1.1 redirect will get a 303
instead of a 302 to be compatible with the HTTP spec.
21 years ago
foobar
a942bcd669
Merge from sapi/apache/config.m4 and cleanup
21 years ago
foobar
14058c83e6
- Fix another generated header include
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
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
Stefan Esser
90f151470c
same bug.
22 years ago
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
22 years ago
Zeev Suraski
a2ea2d7173
Fix prototypes
22 years ago
Rasmus Lerdorf
a61c2d667c
Fix applies to apache_hooks sapi as well. See bug #25753 for details.
22 years ago
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
22 years ago
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
22 years ago
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
22 years ago
Wez Furlong
331dc79254
More things for the new build system.
Pi3Web and aolserver build untested (no headers and libs for those here)
22 years ago
Hartmut Holzgraefe
f992fbfa2c
proto fix
23 years ago
James Cox
f68c7ff249
updating license information in the headers.
23 years ago
Edin Kadribasic
4aa1414623
Reverting last patch (merge from sapi/apache).
23 years ago
Edin Kadribasic
692b508957
Merge from sapi/apache (fix for #23504 )
23 years ago
Sebastian Bergmann
5ca078779a
Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32.
23 years ago
Stig Bakken
0e6fca4f22
* email address change
23 years ago
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.
23 years ago
Ilia Alshanetsky
acc9c13c36
Build Fix.
23 years ago
Ilia Alshanetsky
13f8b211c4
Fixed compilation of Apache & Apache Hooks SAPIs.
23 years ago
Zeev Suraski
3a1a209baf
Updates reflecting infrastructure changes
23 years ago
foobar
8040659c00
Make these configure messages differ from the regular apache configure
23 years ago
Ilia Alshanetsky
8a9e09a44a
ARG_COUNT(ht) -> ZEND_NUM_ARGS().
23 years ago
Ilia Alshanetsky
c794f2c710
Removed pointless memory allocation checks.
23 years ago
Sebastian Bergmann
2c5d4b8c23
Bump year.
23 years ago
Ilia Alshanetsky
097055a862
Make the version code get the version from the current Apache, rather then
the Apache PHP was compiled against.
23 years ago
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.
23 years ago
Ilia Alshanetsky
60a5aeef43
Fixed a few compile warnings and one compile error.
24 years ago
foobar
dd53efc196
- Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is.
24 years ago
George Schlossnagle
010fd97aa5
brief v1 documentation
24 years ago
George Schlossnagle
3bdfbd6d1e
Props to Lukas as well
24 years ago
foobar
dad428b49e
Add George to the credits and add note about it being different than the real Apache SAPI
24 years ago
foobar
5df80a262b
Fix the configure..
24 years ago
George Schlossnagle
c598b3ac16
now this works (thanks Rasmus)
Note: the correct line is --with-apache-hooks
24 years ago
George Schlossnagle
0ad980c667
fixed recurrent entrance to add_cgi_vars
24 years ago
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'.
24 years ago
Edin Kadribasic
f8026b7453
Updated windows build file.
24 years ago
Rasmus Lerdorf
a94a226691
Fix a few warnings - compiles nicely now
24 years ago
George Schlossnagle
2c34ea1be4
#defined offsetof, for systems that can't find it
24 years ago
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.
24 years ago