- Aug 15, 2012
-
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1373443 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
in some 32 bit builds, especially on Solaris Sparc. PR 53040. Backport of r1373270 from trunk. Submitted by: rjung Reviewed by: rpluem, trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1373439 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 14, 2012
-
-
Jeff Trawick authored
changes. The trunk patches for these all have some configuration breakage as 2.4.x interprets the individual directive or API parameter as relative to ServerRoot whereas trunk interprets everything relative to DefaultRuntimeDir. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1373168 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1373163 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
Merge r1361153 from trunk: * Set content type in case we return stale content. Submitted by: rpluem Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1373115 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
Windows: Fix SSL failures on windows with AcceptFilter https none. The now-stray apr_socket_opt_set(APR_SO_NONBLOCK=On) call was originally added with r327872. The call was harmless on Unix due to APR's use of non-blocking sockets when implementing timeouts on that platform, but harmful on Windows since it collided with APR's different implementation of timeouts on that platform. PR: 52476 Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1373108 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
mod_lbmethod_heartbeat, mod_heartmonitor: Respect DefaultRuntimeDir/ DEFAULT_REL_RUNTIMEDIR for the heartbeat storage file. core: Respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR for the scoreboard (ScoreBoardFile). The Pidfile directive and ap_log_pid()/ap_remove_pid()/ap_read_pid() now respect DefaultRuntimeDir Mutex directive: finish support of DefaultRuntimeDir a partial conversion was made in r1299718, but I'm not sure when that change is effective mod_socache_shmcb and mod_socache_dbm: finish support of DefaultRuntimeDir a partial conversion was made in r1299718, affecting cases where no filename was specified mod_slotmem_plain: make the "filename" key relative to DefaultRuntimeDir if not absolute mod_slotmem_plain does not externalize or check the full path in any way, so this change is just for consistency with other modules which build paths to run-time artifacts. make LDAPSharedCacheFile relative to DefaultRuntimeDir Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1373105 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
When -B is specified, search for a host address in the same family as the specified outbound interface. If impossible, fail at name resolution instead of bind(). ab: Fix read failure when targeting SSL server. Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1373084 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
mod_auth_digest now respects DefaultRuntimeDir Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1373081 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 13, 2012
-
-
Rainer Jung authored
Also switch to the non-deprecated APR_FOPEN_* flags. PR: 45923 Backport of r1369618 from trunk. Submitted by: sf Reviewed by: rjung, trawick, humbedooh Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1372373 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 09, 2012
-
-
Jim Jagielski authored
Use apr_pcalloc for rewritemap_entry struct, to avoid uninitialized entries. PR: 53663 Submitted by: Mikhail T. <mi apache aldan algebra com> remove now unecessary assignment Add changes entry for r1369995, r1369999 Submitted by: sf Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1371208 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 05, 2012
-
-
Rainer Jung authored
TLS-level compression. PR 53219. Backport of r1345319 and r1348656 from trunk. Submitted by: Bjoern Jacke <bjoern j3e de>, sf Reviewed by: rjung, trawick Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1369585 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 04, 2012
-
-
Rainer Jung authored
r1201460: Add some todos from apachecon notes. Submitted by: covener r1351012: Change prototype of vm_construct, to work around gcc bug which causes a segfault. PR: 52779 Submitted by: Dick Snippe <Dick Snippe tech omroep nl> r1351013: Allow tail call optimization in log methods, remove foo method. Submitted by: sf r1351014: Add a few missing request_rec fields. Rename remote_ip to client_ip to match conn_rec. Submitted by: sf r1351017: Change various strings from char * to const char *. Submitted by: sf r1351018: Factor common code into utility function. Also improve logging a bit and adjust some log levels. Submitted by: sf r1351019: Use macro to make definition of integer fields more compact. Submitted by: sf Reviewed by: humbedooh, covener, sf Backported by: humbedooh, rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1369494 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
- Keep track of the number of clogged, lingering, and suspended connections. - Don't count connections in lingering close state when calculating how many additional connections may be accepted Backport of r1361773 and r 1361778 from trunk. Submitted by: sf Reviewed by: rjung, jim Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1369473 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
the main error log, pointing to the appropriate virtual host error log. Backport of r1348660 from trunk. Submitted by: sf Reviewed by: rjung, covener Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1369464 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 02, 2012
-
-
Jim Jagielski authored
Use short lived pool to avoid memory leaks Remove the comment about binding upstream and downstream connections. It seems to be obsolete since r104604, r104605, r105108. Also avoid allocating memory if we are not handling the connection. PR: 52275 Submitted by: Naohiro Ooiwa <naohiro ooiwa miraclelinux com>, Stefan Fritsch Submitted by: sf Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1368450 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 28, 2012
-
-
Jim Jagielski authored
trunk patch: http://svn.apache.org/viewvc?rev=1365001&view=rev and http://svn.apache.org/viewvc?rev=1365020&view=rev and http://svn.apache.org/viewvc?rev=1365029&view=rev 2.4.x patch: http://people.apache.org/~jorton/ap_proxyblock-24x-v2.diff [avoids major MMN bump] +1: jorton, rjung, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1366693 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
mod_proxy_balancer: Restore balancing after a failed worker has recovered when using lbmethod_bybusyness. PR: 48735 Markus Stoll and Adam C both submitted patches against 2.2.x to bug 48735. Compared with those two, this solution 1. resets the busy field in the error-ed worker at the end of the request instead of at recovery time 2. leaves the lbstatus field alone 3. covers all possible scenarios where the busy field in the error-ed worker needs to be adjusted, since a cleanup to perform the decrement is registered at the point of the increment Submitted by: trawick Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1366691 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 25, 2012
-
-
Rainer Jung authored
during startup This should save some memory, especially with .htaccess Backport of r1343099. Submitted by: sf Reviewed by: rjung, jim Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1365774 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1365753 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
* modules/proxy/proxy_util.c (ap_proxy_location_reverse_map): Fix to skip balancer:// prefix where applicable. Reviewed by: jorton, jim, rjung PR: 45434 (regressed since 2.2) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1365604 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
Add the missing parsebody function to mod_lua, for parsing POST data. PR 53064. - Define LUA_COMPAT_ALL so mod_lua will be compatible with Lua 5.2 - Add an optional integer argument for parsebody, specifying the maximum size of POST that will be accepted. Submitted by: humbedooh Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1365539 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
CFLAGS and CPPFLAGS. trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1343094 2.4.x patch: trunk patch works +1: rjung, humbedooh, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1365532 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 24, 2012
-
-
Jeff Trawick authored
resource shortages. Submitted by: trawick Reviewed by: jorton, rjung, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1365003 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 23, 2012
-
-
Rainer Jung authored
Backport of r1335882 and r1325724 from trunk. Submitted by: rbowen Reviewed by: rjung, humbedooh Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364713 13f79535-47bb-0310-9956-ffa450edef68
-
Rainer Jung authored
Move away from DEFAULT_REL_RUNTIMEDIR and use ap_runtime_dir_relative() API. Backport of r1299718 from trunk. Submitted by: jim Reviwed by: rjung, trawick Backported by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364709 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
* support/ab.c (test, start_connect): Only bind the local end of the socket (and look up an address for it) if -B is specified. Reviewed by: trawick, rjung, jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364674 13f79535-47bb-0310-9956-ffa450edef68
-
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
-