- Jul 23, 2012
-
-
Jim Jagielski authored
Take care not to call ap_start_lingering_close from the listener thread, because it may block when flushing data to the client. From the listener thread, do a lingering close without flushing. This is OK because we only do this if there has been an error during write completion or if our send buffers are empty because we are in keep-alive. PR: 52229 Submitted by: sf Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364613 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
mpm_event, mpm_worker: Fix cases where the spawn rate wasn't reduced after child process resource shortages. The broken scenario: child X exits with APEXIT_CHILDSICK another child Y is created and reuses child X's scoreboard slot child X's exit status is processed The case that worked is when child X's scoreboard slot hadn't been reused by the time that its exit status was processed. Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364609 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
fix child exit status in prefork after certain errors in the child so that the parent resets the spawn rate to the minimum or: mpm_prefork: Reduce spawn rate after a child process exits due to unexpected poll or accept failure. Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364607 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
* modules/filters/mod_ext_filter.c (ef_unified_filter): Set hit_eos flag on hitting EOS. (ef_input_filter): Give back EOS if filter is invoked after hitting EOS, rather than attempting (and failing) to read from the closed pipe to the child. Submitted by: jorton Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364606 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
If a filename without slashes is specified for LoadFile or LoadModule and the file cannot be found in the server root directory, try to use the standard dlopen() search path. Submitted by: sf Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364603 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 22, 2012
-
-
Rainer Jung authored
than just the fixed header name of "Status". Backport of r1362538 from trunk. Submitted by: chrisd Reviewed by: rpluem, rjung Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364271 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
when len == 0. Backport of r1358061 from trunk. Submitted by: Jim Meyering <meyering redhat.com> Reviewed by: jorton, trawick, rjung Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364270 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
This was broken when the handling of lingering close was moved into the listener thread. - Make the connection counting thread safe. - Do the counting in the connection pool cleanup to ensure that it gets also executed if the listener thread closes the connection. - Add a trace log message when a process is recycled. - Rename requests_this_child to conns_this_child, which is more accurate Backport of r1343085 and r1343087. Submitted by: sf Reviewed by: humbedooh, rjung Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364268 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
references %{REMOTE_USER}, trigger authentication and retry. Log error if 'Require expr' fails. PR: 52892 Backport of r1351071, r1351072 and r1351074 from trunk. Submitted by: sf Reviewed by: rjung, trawick Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364266 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364264 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
Backport of r1352911 from trunk. Submitted by: sf Reviewed by: rjung, trawick Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364263 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
Backport of r1359057 from trunk. Submitted by: sf Reviewed by: jorton, rjung Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364253 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 20, 2012
-
-
Rainer Jung authored
http://www.iana.org/assignments/http-status-codes/http-status-codes.xml The new codes are now known and some canned error strings are provided. The web server does not yet actually produce them in responses or reacts on getting them from an origin server when acting as a proxy or gateway. Backport of r1361784, r1361791 and 1362020 from trunk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1363802 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 16, 2012
-
-
Joe Orton authored
* include/util_ldap.h: Treat LDAP_UNAVAILABLE as a transient error with non-MS LDAP SDKs; seen with OpenLDAP against Novell eDirectory. Submitted by: Filip Valder <filip.valder vsb.cz> (via RH bugzilla) Reviewed by: jorton, sf, rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1362056 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 13, 2012
-
-
https://svn.apache.org/repos/asf/httpd/httpd/trunk/Eric Covener authored
r1052419 changed the default value of Options to FollowSymlinks, but inadvertently made "AllowOverride Options" behave like "AllowOverride Options=FollowSymLinks". PR53444 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1361377 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
mod_rewrite: Fix RewriteCond integer checks to be parsed correctly. PR: 53023 Submitted by: Axel Reinhold <apache freakout.de> Reviewed/Updated by: nd Submitted by: nd Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1361281 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 10, 2012
-
-
Jim Jagielski authored
Fix parsing of Require arguments in <AuthzProviderAlias>. Add some logging and an assert for a case that should not happen. PR: 53048 Submitted by: sf Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1359691 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
PR 53104 - %{abc}C truncates cookies whose values contain '=' Submitted by: gregames Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1359690 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
trunk patch: http://svn.apache.org/viewvc?rev=1356115&view=rev http://svn.apache.org/viewvc?view=revision&revision=1356813 2.4.x patch: http://people.apache.org/~jorton/httpd-pr52774.patch +1: jorton, covener, druggeri, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1359687 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 03, 2012
-
-
Stefan Fritsch authored
SECURITY: CVE-2012-2687 (cve.mitre.org): mod_negotiation: Escape filenames in variant list to prevent an possible XSS for a site where untrusted users can upload files to a location with MultiViews enabled. * modules/mappers/mod_negotiation.c (make_variant_list): Escape filenames in variant list. Submitted by: Niels Heinen <heinenn google.com> Reviewed by: covener, jorton, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1356889 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Fritsch authored
htdbm/htpasswd: fix handling of crypt() failures. Reviewed by: jorton, covener, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1356887 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Fritsch authored
* server/mpm_unix.c (dummy_connection): Use a TLS 1.0 close_notify alert if the chosen listener is configured for https; not perfect but better than sending an HTTP request. Adjust comments. * server/mpm_unix.c (dummy_connection): Fix spello. Reviewed by: jorton, jim, covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1356884 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Fritsch authored
Use the the same hostname for SNI as for the HTTP request when forwarding to SSL backends. PR: 53134 Based on a patch from: Michael Weiser <michael weiser.dinsnail.net> Reviewed by: rpluem, druggeri, covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1356881 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Fritsch authored
mod_info: Display registered providers. Reviewed by: sf, jorton, covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1356879 13f79535-47bb-0310-9956-ffa450edef68
-
- May 27, 2012
-
-
Stefan Fritsch authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1343112 13f79535-47bb-0310-9956-ffa450edef68
-
- May 05, 2012
-
-
Stefan Fritsch authored
When receiving http on https, send the error response with http 1.0 It is important that we send a proper error status, or search engines may index the error message. Remove the link in the speaking-http-on-https error message. With SNI, the link will usually be wrong. So better send no link at all. PR: 50823 Reviewed by: sf, jorton, trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1334346 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Fritsch authored
Fix segfault in logging if r->useragent_addr or c->client_addr is unset. Reviewed by: sf, jorton, trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1334344 13f79535-47bb-0310-9956-ffa450edef68
-
- May 03, 2012
-
-
Joe Orton authored
static scope for rewritemap_mutex_type. Submitted by: nd Reviewed by: sf, jorton, trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1333493 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 28, 2012
-
-
Stefan Fritsch authored
add CHANGES entry: log_server_status: Bring Perl style forward to the present, use standard modules, update for new format of server-status output. Submitted by: rbowen, Dave Brondsema, igalic, humbedooh Reviewed by: rbowen, jim, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1331851 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Fritsch authored
mod_sed, mod_log_debug: Symbol namespace cleanups. Submitted by: jorton Reviewed by: jorton , jim, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1331848 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Fritsch authored
* server/main.c (main): Bail out *before* signalling the server if the config is bad. (as per the claim in the docs!) Submitted by: jorton Reviewed by: jorton, jim, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1331847 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 27, 2012
-
-
Jim Jagielski authored
If there is an error reading the headers from the backend, send an error to the client add PR reference Submitted by: sf Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1331416 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 05, 2012
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1309810 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 03, 2012
-
-
Jim Jagielski authored
Use new ap_runtime_dir_relative() API Document use of the DefaultRuntimeDir directive. Submitted by: jim, minfrin Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1308897 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
Initialize EC temporary key on server startup, as for DH and RSA. This fixes a race condition that could lead to a crash with threaded MPMs. Submitted by: sf Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1308862 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 31, 2012
-
-
Stefan Fritsch authored
* Add the forcerecovery balancer parameter that determines if recovery for balancer workers without considering the retry value of workers is enforced. There might be cases where an already overloaded backend can get into deeper trouble if the recovery of all workers is enforced without considering the retry parameter of each worker Committed by: rpluem Reviewed by: rpluem, covener, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1307835 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Fritsch authored
* Revert r1294936 (Jeff's revert) and fix NetWare / Win32 build. Added the missing AP_DECLARE* decorations for the function implementations and variables. * Fix changes in parameter names in function definitions done in r1303201 * Partly revert r1303435 and rename pconf back to in_pconf to avoid shadowing the global variable with the same name and create a bogus assignment. Pointed out by: Eric Covener Committed by: fuankg, rpluem Reviewed by: fuankg, minfrin, trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1307828 13f79535-47bb-0310-9956-ffa450edef68
-
Stefan Fritsch authored
* Correctly save the reverse proxy worker in all virtual host proxy configs. PR: 52935 Obtained from: Petter Berntsen <petterb gmail.com> Committed by: rpluem Reviewed by: covener, minfrin, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1307825 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 27, 2012
-
-
Graham Leggett authored
mod_sed: Don't define PATH_MAX to a potentially undefined value, causing compile problems on GNU hurd. Submitted by: sf Reviewed by: minfrin, fuankg git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1305822 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 25, 2012
-
-
Graham Leggett authored
core: Add ap_runtime_dir_relative() and DefaultRuntimeDir. Submitted by: trawick Reviewed by: jim, minfrin git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1305164 13f79535-47bb-0310-9956-ffa450edef68
-