1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00
Commit Graph

2931 Commits

Author SHA1 Message Date
Eric Covener
bde79a7ab4 Merge r732421, r732451 from trunk:
Release the accept mutex after receiving the shutdown signal
in single-process mode.  (That isn't a critical step, but
neatness counts.)

Submitted by: rpleum



prefork: Fix child process hang during graceful restart/stop in
configurations with multiple listening sockets.

PR: 42829
Submitted by: Joe Orton, with some tweaking and testing from me

Reviewed by: trawick, rpluem, jorton, pgollucci



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@739608 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 20:54:55 +00:00
Jim Jagielski
30f4e49aaf Merge r732832, r733134, r733218 from trunk:
Translate locally generated "100-Continue" message to
ASCII on EBCDIC systems.


EBCDIC fix for ap_send_interim_response()



simplifications per niq's review comments

Submitted by: covener
Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@733759 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 14:03:38 +00:00
Jim Jagielski
d066ba3e92 Merge r729586, r732504 from trunk:
CGI: return 504 (Gateway timeout) rather than 500 when a script
times out before returning status line/headers.
PR 42190


Improve canned 504 error message in the light of r729586 and covener's comment.

Submitted by: niq
Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@733757 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 13:59:56 +00:00
Jim Jagielski
6b8b8a044a PR 45959
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@733754 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 13:53:43 +00:00
Ruediger Pluem
ac470b414a Merge r732414 from trunk:
As jorton discovered, recent Linux kernels have a new tunable
setting for epoll that will trip up many prefork users.  Write
a log message instead of crashing.

As rpluem notes, some Apache doc is in order.

PR: 46467
Submitted by: trawick
Reviewed by: rpluem, covener, trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@733698 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 11:37:32 +00:00
Nick Kew
37d373a8f1 Backport r730296: fix for HTML entity escaping in mod_include,
including enhancement of ap_escape_html API.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@732583 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 01:24:16 +00:00
Paul J. Reder
37fe212f1e Commit promoted backport of PR 46066.
*) Set Listen protocol to "https" if port is set to 443 and no proto is specified
     (as documented but not implemented). PR 46066  [Dan Poirier <poirier pobox.com>]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@727769 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 17:22:54 +00:00
Ruediger Pluem
8825d114f6 Merge r727452 from trunk:
Output -M and -S dumps (modules and vhosts) to stdout instead of stderr.

Submitted by: Dan Poirier <poirier pobox.com>
Reviewed by: rederpj, covener, rpluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@727616 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 01:46:00 +00:00
Eric Covener
47168163bd Merge r722213,r722081, and r721679 from trunk:
* Avoid sending no answer at all if a custom error page causes an
  AP_FILTER_ERROR.

* allow ap_invoke_handler() to pass-through AP_FILTER_ERROR as if it were
  a reserved status code (OK/DECLINED/SUSPENDED). Prevents ap_die() from seeing a
  500 error when the http header filter has already taken care of the proper
  error response

* To be safe, consume the entire brigade after processing an error bucket in
  the HTTP output filter.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@722642 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 22:28:21 +00:00
Jim Jagielski
a26fba1db4 Merge r719357 from trunk:
Fix MaxRequestsPerChild on the Event MPM.  It hasn't worked for 4 years.

* server/mpm/experimental/event/event.c
    (process_socket): Be consistent about our return value, returning 0
      means this connection is done, and that we can decrement requests_this_child.

Submitted by: pquerna
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@720196 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 13:54:50 +00:00
Jim Jagielski
3bf0124dd3 * mod_proxy: Add the possibility to set the worker parameters
connectiontimeout and ping in milliseconds. 
     Trunk version of patch:
       http://svn.apache.org/viewvc?rev=705005&view=rev
       http://svn.apache.org/viewvc?rev=707022&view=rev
     Backport version for 2.2.x of patch:
       http://people.apache.org/~rpluem/patches/milli_seconds.diff
     +1: rpluem, pgollucci, jim



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@713145 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 20:01:59 +00:00
Ruediger Pluem
b3eef2b474 Merge r702867 from trunk:
* Recheck again if idle workers are still available when we are signaled that
  they are. This is needed since it can happen that we are signaled by a
  worker thread that went idle but received a context switch before it could
  tell us. If it does signal us later once it is on CPU again there might be
  no idle worker left. See
  https://issues.apache.org/bugzilla/show_bug.cgi?id=45605#c4

PR: 45605
Submitted by: Denis Ustimenko <denusk gmail.com>
Reviewed by: rpluem, jim, gregames


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@705872 13f79535-47bb-0310-9956-ffa450edef68
2008-10-18 10:19:32 +00:00
Ruediger Pluem
57c2e65a54 Merge r681204 from trunk:
* Give possible piped loggers a chance to process their input before they get
  killed by us.

Submitted by: rpluem
Reviewed by: rpluem, jim, gregames


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@695026 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 20:32:22 +00:00
Jim Jagielski
ce2ccc1ac1 Merge r664535 from trunk:
core: Fix address-in-use startup failure on some platforms caused
by attempting to set up an IPv4 listener which overlaps with an 
existing IPv6 listener.

The failure occurred on the second pass of the open-logs hook in
a configuration such as the following:

  Listen 8080
  Listen 0.0.0.0:8081
  Listen [::]:8081

During the first pass, the two port 8081 listen recs were 
adjacent and existing logic prevented binding to 0.0.0.0:8081.
On the second pass, they were not adjacent and we then tried
to bind to 0.0.0.0:8081, leading to failure on some platforms
(seen on SLES 9 and Ubuntu 7.10, not seen on many other Unix-ish
platforms).

Leave a note about other unhandled configurations.

Submitted by: trawick
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@664705 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 13:36:42 +00:00
William A. Rowe Jr
a41ca03cd6 httpd-2.2 and -2.0 specific patch to revert to 2.0.55/2.2.0 handling of the
stdout channel; do not close stdout in the parent process or reassign it to
\\Device\Null, but keep it open so that the console signal handler continues
to interact with the running "daemonized" httpd process.

Not committed to httpd-2.x; there is disagreement as to whether this is good
behavior for a daemon, and the proper 2.4(3.0) behavior on Win32 may be to
daemonize but properly handle -k stop by the PID file contents.  Many have
asked for this feature who run a minimal httpd.exe, especially from some
removeable media such as CD, and wish to be able to halt it as a console. 

PR: 44800 (part 3/3)
Submitted by: tdonovan


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@663704 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 19:11:27 +00:00
William A. Rowe Jr
76d5ac5301 The environment may be manipulated by modules such as mod_perl, so regenerate
the passed env argument on each CreateProcess call.

PR: 44800 (part 2/3)
Submitted by: tdonovan
Backports: r663699


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@663700 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 19:00:56 +00:00
William A. Rowe Jr
3409eaf105 For winnt_mpm console mode, always reset our console handler to be the first,
even on a restart, because some modules (e.g. mod_perl) might have set a console
handler to terminate the process.

PR: 44800 (part 1/3)
Submitted by: tdonovan
Backports: r663669


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@663670 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 17:27:56 +00:00
Ruediger Pluem
6cc91ea58d Merge r420307 from trunk:
* Add the filename of the configuration file to the warning message
  about the useless use of AllowOverride.

PR: 39992
Submitted by: Darryl Miles <darryl darrylmiles.org>
Reviewed by: rpluem, jim, pquerna


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@662566 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 21:18:18 +00:00
Jim Jagielski
4ba77effab Merge r613260 from trunk:
* server/mpm/prefork/prefork.c (child_main): If apr_pollset_poll()
  fails with EINTR and die_now has been set (indicating a graceful
  stop/restart), terminate the child quickly rather than re-entering
  poll().

Submitted by: jorton
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@662014 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 11:58:46 +00:00
Jim Jagielski
b3c372b49b Merge r613252 from trunk:
* server/mpm/prefork/prefork.c (child_main): Unlock the mutex before
  terminating in the multi-listener poll error path.

Submitted by: jorton
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@662013 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 11:58:20 +00:00
Jim Jagielski
2c785e2ab1 Merge r552029 from trunk:
* server/mpm/prefork/prefork.c (child_main): Stop processing new
connections if shutdown_pending is set, i.e. when SIGTERM is received
in single-proecss mode.

Submitted by: Garrett Rooney <rooneg apache.org>
PR: 38848

Submitted by: jorton
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@662012 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 11:57:54 +00:00
Jim Jagielski
f2ca7f650f backport scoreboard-lb_score-2.2.x.patch
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@661691 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 12:38:46 +00:00
Jim Jagielski
d075ac1d02 Merge r652885 from trunk:
* Do not allow all options of ALL to be set when only a few of them are
  allowed.

PR: 44262
Submitted by: Micha?\197?\130 Grz?\196?\153dzicki <lazy iq.pl>
Reviewed by: rpluem

Submitted by: rpluem
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@660585 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 16:25:19 +00:00
Ruediger Pluem
6c10c6b8b5 * Merge r602542, r603237, r603502, r603543, r604447, r604449, r605314,
r605838 from trunk:

* Enable the proxy to keep connections persistent in the HTTPS case.

  Basicly the persistence is created by keeping the conn_rec structure
  created for our backend connection (whether http or https) in the connection
  pool. This required to adjust scoreboard.c in a way that its functions can
  properly deal with a NULL scoreboard handle by ignoring the call or returning
  an error code.

* Use a separate subpool to manage the data for the socket and the connection
  member of the proxy_conn_rec struct as we destroy this data more frequently
  than other data in the proxy_conn_rec struct like hostname and addr (at least
  in the case where we have keepalive connections that timed out and were
  closed by the backend).
  This fixes a memory leak with short lived and broken connections.

* Fix another memory leak related to PR 44026. Now that we keep the connection
  data structure alive in the reslist, the live time of c->pool is too long.
  r->pool has the correct live time since rp dies before r.

* Do not register connection_cleanup as cleanup for the conn->pool. In the past
  it was needed to register connection_cleanup as a cleanup for the frontend
  connection memory pool (c->pool) to ensure that connection returns into the
  connection pool if the memory pool of the frontend connection memory pool
  gets destroyed / cleared. Now we ensure explicitly the connection returns
  to the connection pool once we finished handling the request.

* Tag the pools appropriately to ease memory debugging.

* Only sent a flush bucket down the chain if buckets where sent down the chain
  before that could still be buffered in the network filter. This is the case
  if we have sent an EOS bucket or if we actually sent buckets with
  data down the chain. In all other cases we either have not sent any
  buckets at all down the chain or we only sent meta buckets that are
  not EOS buckets down the chain. The only meta bucket that remains in
  this case is the flush bucket which would have removed all possibly
  buffered buckets in the network filter.
  If we sent a flush bucket in the case where not ANY buckets were
  sent down the chain, we break error handling which happens AFTER us.

* Using the reslist pool for the proxy_conn_rec structure introduces a memory
  leak when connections get created and destroyed frequently by the reslist
  (e.g.  destroying idle elements of the reslist). So use the subpool
  dedicated for the proxy_conn_rec structure to allocate the memory for the
  structure itself.

PR: 44026, 44543
Submitted by: rpluem
Reviewed by: jim, rpluem, fielding


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@657440 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 19:42:03 +00:00
Jim Jagielski
32f65eb68d Merge r655714 from trunk:
gen_test_char: add double-quote to the list of T_HTTP_TOKEN_STOP.

PR: 9727
Submitted by: Ville Skytt <ville.skytta iki.fi>

Submitted by: fielding
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@656000 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 20:34:00 +00:00
Jim Jagielski
c63441f825 Merge r579664 from trunk:
Reinstate location walk for subrequests
PR 41960 (Jose Kahan)

Submitted by: niq
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@655540 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 16:05:03 +00:00
Chris Darroch
c3634fd742 add comment from event MPM's fdqueue ap_pop_pool() regarding
ABA problem and avoidance because only caller is single listener thread


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@634050 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 22:08:25 +00:00
Jim Jagielski
236049b8b9 Merge r630335, r630348, r630350 from trunk:
Worker MPM: fix race condition
PR44402: reported and fixed by Basant Kumar Kukreja


* Second part of fix for PR 44402:

  - Fix the same race condition in event MPM.
  - Slightly optimize code in worker MPM by removing the need for an additional
    dereference operation.
  - Do some word smithing on the CHANGES entry.

PR: 44402
Submitted by: Basant Kumar Kukreja <basant.kukreja sun.com>
Reviewed by: rpluem


* Add hint to PR in comment. No functional change.

Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@631362 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 19:51:29 +00:00
Tony Stevenson
ee4189980a Backporting to 2.2 for PR 41823
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@619749 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 03:01:21 +00:00
William A. Rowe Jr
93f6fd3cf6 winnt_mpm: Resolve modperl issues by redirecting console mode stdout
to /Device/Nul as the server is starting up, mirroring unix MPM's.

PR: 43534

Submitted by: Tom Donovan <Tom.Donovan acm.org> and William Rowe

Backports: r609354, r609366

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@609712 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 17:34:36 +00:00
William A. Rowe Jr
6b515f1aba winnt_mpm: Restore Win32DisableAcceptEx On directive and Win9x platform
by recreating the bucket allocator each time the trans pool is cleared.

PR: 11427 #16 (follow-on)
Submitted by: Tom Donovan <Tom.Donovan acm.org>
Backport: r609181


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@609183 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 18:23:27 +00:00
William A. Rowe Jr
05e8ca2555 Close the child_exit_event which lives only for the scope
of master_main and was orphaned on each soft or fatal restart.

PR: 40932 
Submitted by: Jeff Robbins <jeffr livedata.com>

Backport: r607677

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@607678 13f79535-47bb-0310-9956-ffa450edef68
2007-12-31 05:41:05 +00:00
William A. Rowe Jr
22fde62e08 On win32, we must never, never close the parent's copy of the
child's read end for a reliable piped logger.  The child runs
and manages it's own logs, and even if the parent did instead, 
the mpm would be adjusted to pass down the child write ends 
without read ends to the pipes, so this forever makes no sense.

Backport: r607666

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@607667 13f79535-47bb-0310-9956-ffa450edef68
2007-12-31 05:00:52 +00:00
William A. Rowe Jr
352ab75d24 Fix winnt bucket_alloc to borrow memory from the transaction
pool, instead of exhausting pchild memory over a number of
connections.

PR: 11427
Submitted by: Alex Varju <alex varju.ca>
Backport: r607393

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@607394 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 07:55:30 +00:00
William A. Rowe Jr
d01b275380 Backport a patch similar to r580433, but similar to the apr-1.2
specific server/log.c r602467, take into account the fact that 
apr's flags could not be adjusted.





git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@607311 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 19:11:29 +00:00
William A. Rowe Jr
61cd4bbe63 Correct the approach to std file handles by simplifying the approach
and taking better advantage of apr's now-proper support.

Already verified by Randy Kobes and Tom Donovan

Sync to trunk r580433

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@607301 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 17:57:39 +00:00
Nick Kew
7421bb2ee1 Backport r602735 and r602735
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@603732 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 20:43:04 +00:00
Jim Jagielski
4bb4fddce0 Merge r589461, r602491 from trunk:
Prevent 1-byte overflow on 8192 boundary (see PR 43310)


Alternate fix... profiling indicates that the string
termination is completely unneeded and superflous. In
which case, the original allocation size is sufficient
since nothing external worries about a NULL nor
looks for it.

Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@602536 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 19:33:47 +00:00
Ruediger Pluem
7e459a0fea Merge 590641 from trunk:
Add in SeeRequestTail directive, to handle the shortcoming
of only storing 63 bytes of the request, when the requests
are longer than that and only vary towards the end; eg:

   GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/apples.jpg
   GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/pears.jpg
   GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/plums.jpg

Submitted by: jim
Reviewed by: jim, rpluem, niq


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@602508 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 16:59:08 +00:00
Jim Jagielski
d4283ac1cf * mod_proxy_http: Correctly forward unexpected interim (HTTP 1xx) responses
incorporating ap_send_interim_response core API
          PR 16518



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@602468 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 14:01:47 +00:00
Jim Jagielski
5f48b3e775 * core log.c: Work around possible solutions rejected by apr for
the old implementation of apr_proc_create(), and explicitly pass
          the output and error channels to all log processes created.
              This goes all the way back to piped logs failing to run on win32.
                  Not in or needed at trunk/, as apr 1.3.0 has the proper fix.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@602467 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 13:59:22 +00:00
Ruediger Pluem
0ed9165497 Merge 557837, 557972 from trunk:
Multiple trivial fixes from Christophe JAILLET
PR 38699, 39518, 42005, 42006, 42007, 42008, 42009
The patches are all his, and are sufficiently trivial to review
at a glance.

Fix clash between r557837 and r427780

PR: 38699, 39518, 42005, 42006, 42007, 42008, 42009
Submitted by: Christophe Jaillet <christophe.jaillet wanadoo.fr>
Reviewed by: rpluem, trawick, niq


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@599569 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 20:21:10 +00:00
Jim Jagielski
3813732dbc Apply backport... fix "conflicts" with CHANGES and ap_mmn.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@595474 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 22:08:30 +00:00
Jim Jagielski
b354e15c61 Merge r589177 from trunk:
Fix possible crash at startup in case of nonexistent DocumentRoot.
PR#39722

Submitted by: niq
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@589618 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 13:13:17 +00:00
William A. Rowe Jr
a74d3344c9 mpm_winnt: Fix null pointer dereference
PR 42572

Backports: 563489



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@584975 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 23:49:32 +00:00
William A. Rowe Jr
259c9321e0 mpm_winnt: Eliminate wait_for_many_objects. Allows the clean
shutdown of the server when the MaxClients is higher then 257,
in a more responsive manner [Mladen Turk, William Rowe]

Per Mladen's +1, and that it's addressed all of Roy's concerns
with Mladen's original patch.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@584958 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 22:49:57 +00:00
Jim Jagielski
5b14273c06 Merge r517233 from trunk:
* server/mpm_common.c (dummy_connection): Use "OPTIONS *" for request
on dummy connection.

PR: 41796

Submitted by: jorton
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@583152 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 13:17:52 +00:00
Jim Jagielski
913dacdbbf Approved and backported
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@582804 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 12:44:08 +00:00
Ruediger Pluem
019dc8f39f Merge r578620 from trunk:
PR 40037: try to avoid risk of misleading the lusers when they
can't initialise scoreboard after a crash.

Submitted by: niq
Reviewed by: niq, rpluem, trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@582621 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 12:31:44 +00:00
Jim Jagielski
8baa9e1200 * Event MPM: Rework locking of the timeout_mutex, to never hold it while
calling blocking operations on the worker queue.
                Trunk version of patch: 
                        http://svn.apache.org/viewvc?view=rev&revision=567852
                                http://svn.apache.org/viewvc?view=rev&revision=574462
                                      2.2.x version of patch:
                                              http://people.apache.org/~pquerna/event-mpm-deadlock.patch    +1: pquerna, jim, rpluem



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@575282 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 12:20:04 +00:00