- May 26, 2006
-
-
Chris Darroch authored
handling a fork() failure. The previous behaviour appears to have been inherited from the prefork MPM, where is it appropriate. The prefork MPM sets thread_limit to 1 and therefore each child process has a single worker_score structure in the scoreboard's array, i.e., ap_scoreboard_image->servers[slot][0]. In make_child(), it sets this structure's status to SERVER_STARTING, and then does a fork(); if the fork() fails, it resets the status to SERVER_DEAD. The worker and event MPMs, by constrast, obviously use multiple worker_score structures per child process. They may also be in use by worker threads from a previous generation at any particular moment. Therefore make_child() and the parent process in general doesn't normally update them; make_child() doesn't set them all to SERVER_STARTING before doing fork(), for example. So, make_child() shouldn't set them to SERVER_DEAD if fork() fails (and even if it should, it certainly shouldn't be just updating the first one). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@409693 13f79535-47bb-0310-9956-ffa450edef68
-
- May 21, 2006
-
-
Ruediger Pluem authored
Noticed by: Joe Orton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@408154 13f79535-47bb-0310-9956-ffa450edef68
-
- May 17, 2006
-
-
Ruediger Pluem authored
manner, when setting scheme and port_str. This is needed because if a cached entry is looked up by mod_cache's quick handler r->proxyreq is still unset in the reverse proxy case as it only gets set in the translate name hook (either by ProxyPass or mod_rewrite) which is run after the quick handler hook. This is different to the forward proxy case where it gets set before the quick handler is run (in the post_read_request hook). If a cache entry is created by the CACHE_SAVE filter we always have r->proxyreq set correctly. Also set scheme to ap_http_scheme(r) instead of "http" to handle SSL correctly. PR: 39593 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@407357 13f79535-47bb-0310-9956-ffa450edef68
-
- May 10, 2006
-
-
Garrett Rooney authored
Submitted by: Markus Schiegl <ms schiegl.com> * modules/mappers/mod_rewrite.c (is_absolute_uri): Recognize fcgi:// urls. * CHANGES: Note change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@405625 13f79535-47bb-0310-9956-ffa450edef68
-
- May 09, 2006
-
-
Roy T. Fielding authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@405478 13f79535-47bb-0310-9956-ffa450edef68
-
Thom May authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@405400 13f79535-47bb-0310-9956-ffa450edef68
-
- May 07, 2006
-
-
Nick Kew authored
to see if they attract any more review. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@404851 13f79535-47bb-0310-9956-ffa450edef68
-
- May 05, 2006
-
-
scheme://Sander Temme authored
'https', mod_http returns "https" for the ap_hook_http_scheme and DEFAULT_HTTPS_PORT for ap_hook_default_port. This fixes Redirect responses to requests for directories without a trailing slash when httpd runs behind a proxy or offload device that processes SSL. It also enables support for Subversion in that configuration. This change is completely backwards compatible and passes the perl-framework. Minor mmn bump because I add a field to server_rec. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@399947 13f79535-47bb-0310-9956-ffa450edef68
-
- May 04, 2006
-
-
Jeff Trawick authored
are the same. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@399668 13f79535-47bb-0310-9956-ffa450edef68
-
- May 03, 2006
-
-
Ruediger Pluem authored
the Content-Type of the cached entity gets restored correctly. PR: 39266 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@399388 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
slow. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@399099 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 22, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@396137 13f79535-47bb-0310-9956-ffa450edef68
-
Garrett Rooney authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@396073 13f79535-47bb-0310-9956-ffa450edef68
-
Garrett Rooney authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@396064 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 18, 2006
-
-
Colm MacCarthaigh authored
ap_is_initial_req() returns false for internal redirects. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395079 13f79535-47bb-0310-9956-ffa450edef68
-
Mark J. Cox authored
cross-site scripting flaw because the Expect header error message isn't escaped. We couldn't find a way that this could be used by an attacker however, as they can't influence the Expect header a victim will send to a target site. Thiago agreed and we're therefore not treating this as a security flaw, but it is a bug that ought to get fixed. I'll add to STATUS for 1.3/2.0/2.2 shortly for acks. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@394965 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 16, 2006
-
-
Ruediger Pluem authored
PR: 38227, 39267 Submitted by: James A. Robinson <jim.robinson stanford.edu> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@394446 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 14, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@394092 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
from the connection pool twice. This causes this connection to be present in the connection pool twice. Thus it may be used by different threads at the same time which causes many troubles (segfaults in this case). Furthermore implement a logic to prevent double releases to the connection pool if they are triggered by buggy code and log an error message in this case. - mod_proxy_http.c: remove double calls to ap_proxy_http_cleanup - proxy_util.c: Add logic to prevent double releases of a connection to the connection pool. PR: 38793 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@394088 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
against APR_ASCII_LF at the end of the loop if bb only contains an EOS bucket. PR: 39282 Submitted by: Davi Arnaut <davi haxent.com.br> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@394070 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 12, 2006
-
-
Jeff Trawick authored
on HP-UX. We had no prototype for crypt() there. In 64-bit mode, a crash occurred because the pointer returned by crypt() was truncated before we passed the pointer to apr_cpystrn(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@393364 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 10, 2006
-
-
Ruediger Pluem authored
http://mail-archives.apache.org/mod_mbox/httpd-dev/200604.mbox/%3c443ABE65.1060603@rowe-clan.net%3e git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@393087 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
faults e.g. in mod_cache. Set it to "/" in this case. PR: 39259 Submitted by: Davi Arnaut <davi haxent.com.br> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@393037 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
where it wouldn't work with the server (i.e., anywhere that has crypt()). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@392944 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 08, 2006
-
-
Ruediger Pluem authored
This ensures that requests handled by the '*' worker are sent to the correct backend server. PR: 39253 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@392613 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 02, 2006
-
-
Jeff Trawick authored
PR: 31759 Helped by: Ruediger Pluem, Joe Orton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390922 13f79535-47bb-0310-9956-ffa450edef68
-
Roy T. Fielding authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390887 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 01, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390753 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390616 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 31, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390507 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390496 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 30, 2006
-
-
Jim Jagielski authored
runtime param. Since other protocols might benefit from this, remove the ajp_ prefixes, to make it more generic looking. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390210 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390192 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390185 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 13, 2006
-
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@385583 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 05, 2006
-
-
Ruediger Pluem authored
to prevent readings beyond the buffer boundaries which possibly could reveal sensitive memory contents to the client. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@383339 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 28, 2006
-
-
Brian Pane authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@381679 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 27, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@381469 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 25, 2006
-
-
Garrett Rooney authored
other MPMs. Submitted by: Chris Darroch <chrisd pearsoncmg.com> Issue: 38736 * server/mpm/experimental/event/event.c (worker_thread): Fill in the scoreboard's tid field. * CHANGES: Note change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@380878 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 23, 2006
-
-
Jeff Trawick authored
invalidate it. Warn when input filter can invalidate it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@380232 13f79535-47bb-0310-9956-ffa450edef68
-