Commit Graph

232 Commits

Author SHA1 Message Date
Dmitry Stogov
d647e000a7 Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed) 2005-07-04 12:47:10 +00:00
Antony Dovgal
8be61d707f fix #29683 (headers_list() returns empty array) 2005-06-20 12:46:34 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
foobar
d7f848d069 Might not be obvious for everyone :) 2005-04-10 19:29:08 +00:00
foobar
7af1dfa8cb - Fixed bug #32587 (Apache2: errors sent to error_log do not include timestamps) 2005-04-08 20:32:14 +00:00
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.
2005-03-14 19:25:39 +00:00
foobar
05adbd51b4 - Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI) 2005-01-07 06:28:08 +00:00
Moriyoshi Koizumi
28cc55be0a - Apply the same fix to apache2filter too. 2004-12-12 23:06:06 +00:00
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.
2004-10-23 13:48:05 +00:00
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.
2004-10-23 12:56:20 +00:00
Anantha Kesari H Y
ac5b702b91 removed redundant CLIB_STAT_PATCH checks for NETWARE 2004-09-24 15:44:57 +00:00
Anantha Kesari H Y
13163ad5e4 TSRMLS_FETCH should be called prior to accessing any of the SG members 2004-09-23 15:08:31 +00:00
Anantha Kesari H Y
d2e85c5c9a NetWare now has a POSIX compliant stat structure so no need of CLIB_STAT_PATCH and all such macros 2004-09-23 14:36:42 +00:00
Derick Rethans
6ffc1c291a - MFB: Fixed Apache 2.0 SAPI build against Apache 2 HEAD. (Patch by Joe Orton) 2004-08-23 09:01:27 +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
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
Ilia Alshanetsky
cfbf5b24b7 Fixed bug #28818 (Apache 2 sapis do not export st_dev). 2004-06-18 00:36:58 +00:00
Ilia Alshanetsky
c828007fdf Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs). 2004-03-08 03:15:45 +00:00
Ilia Alshanetsky
67dd730546 Fixed bug #27196 (Missing content_length initialization in apache 2 sapis). 2004-02-09 23:27:43 +00:00
Ilia Alshanetsky
dfaa06dbd7 Apache 2 portion of the fix for bug #25753. 2004-01-29 15:18:26 +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
Ilia Alshanetsky
1628eb1074 Fixed bug #26604 (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia) 2003-12-12 17:19:11 +00:00
foobar
db50cd251e Aligned configure help texts. 2003-10-03 05:24:33 +00:00
Uwe Schindler
ea12731b4e TSRM issue in windows compiling 2003-08-03 19:31:56 +00:00
Ilia Alshanetsky
d2bf1c1338 Fixed bug #24177 (Status not set correctly after flush() in Apache 2) 2003-08-02 18:29:30 +00:00
Ilia Alshanetsky
2b768e8bdc Fixed bug #22072 (Apache2 sapis do not detect aborted connections). 2003-08-01 20:20:11 +00:00
foobar
5553b6827b - Use the correct paths to apu-config / apr-config 2003-07-16 05:46:36 +00:00
foobar
d6430ab79f - Fixed bug #21074 (Apache2: "ErrorDocument xxx /error.php" broken). (Jani) 2003-07-11 04:23:34 +00:00
foobar
471eaadffd apache2filter does not require 2.0.44 2003-07-08 14:12:56 +00:00
foobar
64cad72284 - Fixed bug #24537 (apache2 compile missing include directories) 2003-07-08 13:53:34 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
foobar
dcb0daeae3 - Fix the error message if apxs|2 is fubar. 2003-05-28 14:11:21 +00:00
Ilia Alshanetsky
2f15b2062c Fixed bug #23759 (PHP doesn't preserve subrequest status).
(jaboydjr.netwalk@com, Ilia)
2003-05-23 02:41:59 +00:00
Moriyoshi Koizumi
af32730476 Revert the last patch.
# sorry for the annoyance
2003-05-14 18:15:01 +00:00
Moriyoshi Koizumi
0d39841728 Oops 2003-05-13 19:35:49 +00:00
Moriyoshi Koizumi
e54919d230 Fixed bug #23610 2003-05-13 19:33:36 +00:00
Ilia Alshanetsky
11d9dd93b9 Fixed bug #23417 (compile failure in apache2filter sapi). 2003-04-30 00:47:08 +00:00
Sascha Schumann
ca47774ede MFB usage fix 2003-04-28 19:43:09 +00:00
Ilia Alshanetsky
f7d72d178d Fixed bug #23232 (safe_mode does not honor PHP_AUTH_* in apache2) 2003-04-16 23:31:23 +00:00
Stanislav Malyshev
2849872f19 make Apache define SG(request_info).path_translted, like Apache 1 did. 2003-04-10 11:28:54 +00:00
Sterling Hughes
3f700e58ab update php module name to php5, not php4.
apache, apache2* and cli/cgi work.
sapi module maintainers should fix up their sapis, as I don't run
any servers with php outside of apache.
2003-03-29 04:52:46 +00:00
Edin Kadribasic
14a56343c8 MFB: Disable building of apache2filter (obsoleted by handler). 2003-03-25 10:40:39 +00:00
foobar
96c02a1251 - This is not supposed to be 'pretty' name. (ref. bug #22853) 2003-03-25 01:38:14 +00:00
foobar
f10d00b374 - Changed --with-apxs2 for apache2handler.
# Can we nuke that apache2filter now from php5 ?
2003-03-10 03:14:37 +00:00
foobar
45964cb629 - Fix for some unixware compile problem. (comment by Sascha :) 2003-03-05 16:12:23 +00:00
Edin Kadribasic
d1feae01d9 Credits update. 2003-03-04 00:10:11 +00:00
Zeev Suraski
80d0fa7aad (possibly) fix Win32 builds of the Apache 2 filter 2003-02-24 15:10:36 +00:00
foobar
6000c7b46c - Fixed bug #22376 (wrong httpd.conf modified when using INSTALL_ROOT) 2003-02-23 07:32:03 +00:00
foobar
35f3f3ecc6 These both are experimental still. (there has been a note in config.m4
all the time but these marker files were missing)
2003-02-23 02:39:51 +00:00