/[Apache-SVN]/httpd/httpd/branches/2.2.x/server/mpm/worker/worker.c
ViewVC logotype

Log of /httpd/httpd/branches/2.2.x/server/mpm/worker/worker.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 556936 - (view) (annotate) - [select for diffs]
Modified Tue Jul 17 14:48:25 2007 UTC (2 years, 3 months ago) by jorton
File length: 81596 byte(s)
Diff to previous 446606 (colored)
Merge r551843, r551889 from trunk:

Add alternative fixes for CVE-2007-3304:

* configure.in: Check for getpgid.

* include/mpm_common.h (ap_mpm_safe_kill): New prototype.

* server/mpm_common.c (reclaim_one_pid): Ensure pid validity before
calling apr_proc_wait().
(ap_mpm_safe_kill): New function.

* server/mpm/prefork/prefork.c, server/mpm/worker/worker.c,
server/mpm/experimental/event/event.c: Use ap_mpm_safe_kill() on pids
from the scoreboard, throughout.

* include/ap_mmn.h: Minor bump.

* server/mpm_common.c: getpgid() returns a pid_t

Submitted by: jorton, jim
Reviewed by: jorton, jim, rpluem

Revision 446606 - (view) (annotate) - [select for diffs]
Modified Fri Sep 15 13:19:25 2006 UTC (3 years, 1 month ago) by trawick
File length: 81673 byte(s)
Diff to previous 424876 (colored)
merge from trunk (but preserve ap_get_server_version()):

  *) The full server version information is now included in the error log at
     startup as well as server status reports, irrespective of the setting
     of the ServerTokens directive.  ap_get_server_version() is now 
     deprecated, and is replaced by ap_get_server_banner() and 
     ap_get_server_description().

Reviewed by: rpluem, jim


Revision 424876 - (view) (annotate) - [select for diffs]
Modified Mon Jul 24 01:43:24 2006 UTC (3 years, 3 months ago) by trawick
File length: 81669 byte(s)
Diff to previous 424874 (colored)
merge from trunk:

  Worker MPM: On graceless shutdown or restart, send signals to
  each worker thread to wake them up if they're polling on a
  Keep-Alive connection.  PR 38737.  [Chris Darroch]

PR: 38737
Reviewed by: chrisd, trawick, niq


Revision 424874 - (view) (annotate) - [select for diffs]
Modified Mon Jul 24 01:34:58 2006 UTC (3 years, 3 months ago) by trawick
File length: 80659 byte(s)
Diff to previous 421103 (colored)
merge from trunk:

  worker and event MPMs: fix excessive forking if fork() or child_init
  take a long time.

PR: 39275
Reviewed by: trawick, gregames, pquerna

Revision 421103 - (view) (annotate) - [select for diffs]
Modified Wed Jul 12 03:38:44 2006 UTC (3 years, 3 months ago) by fielding
File length: 80683 byte(s)
Diff to previous 410935 (colored)
update license header text

Revision 410935 - (view) (annotate) - [select for diffs]
Modified Thu Jun 1 20:12:51 2006 UTC (3 years, 5 months ago) by rpluem
File length: 80536 byte(s)
Diff to previous 396056 (colored)
Merge r377291 from trunk:

Make the worker and event MPMs support GracefulShutdownTimeout just like
the prefork MPM does.

Submitted by: Chris Darroch <chrisd pearsoncmg.com>
Ported to event MPM by: rooneg
Issue number: 38621

* server/mpm/worker/worker.c
  (ap_mpm_run): Make the graceful shutdown log message refer to the right
   signal, and respect the graceful shutdown timeout if there is one.

* server/mpm/experimental/event/event.c
  (ap_mpm_run): Ditto.

* CHANGES: Note change.

Submitted by: chrisd, rooneg
Reviewed by: chrisd, rpluem, trawick
PR: 38621

Revision 396056 - (view) (annotate) - [select for diffs]
Modified Sat Apr 22 01:53:06 2006 UTC (3 years, 6 months ago) by pquerna
File length: 80313 byte(s)
Diff to previous 395231 (colored)
Revert r395231 from the 2.2.x branch.  This gets us back to the old place with regard to the copyright statements.

Revision 395231 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:33:16 2006 UTC (3 years, 6 months ago) by colm
File length: 80313 byte(s)
Diff to previous 332309 (colored)
Update the last year of copyright for the 2.2.x branch

Revision 332309 - (view) (annotate) - [select for diffs]
Modified Thu Nov 10 15:20:05 2005 UTC (3 years, 11 months ago) by jim
File length: 80313 byte(s)
Diff to previous 332307 (colored)
No functional change: remove trailing whitespace. This also means
that "blank" lines, which had consisted of just spaces
and/or tabs are now truly blank lines

Revision 332307 - (view) (annotate) - [select for diffs]
Modified Thu Nov 10 15:15:41 2005 UTC (3 years, 11 months ago) by jim
File length: 80666 byte(s)
Diff to previous 307222 (colored)
No functional change: detab all indenting to be consistent
with our formatting standards.

Revision 307222 - (view) (annotate) - [select for diffs]
Modified Sat Oct 8 00:11:36 2005 UTC (4 years, 1 month ago) by trawick
File length: 80589 byte(s)
Diff to previous 293164 (colored)
use Greg's cleaner fix for CAN-2005-2970

Revision 293164 - (view) (annotate) - [select for diffs]
Modified Sun Oct 2 20:56:56 2005 UTC (4 years, 1 month ago) by colm
File length: 80658 byte(s)
Diff to previous 292949 (colored)
Merge r265518-9 from trunk; explicit assignment of some global variables
to zero. These should not be neccessary, but help us get around a gcc
(on ia64 at least) optimisation bug. They are harmless anyway.

Revision 292949 - (view) (annotate) - [select for diffs]
Modified Sat Oct 1 11:02:10 2005 UTC (4 years, 1 month ago) by trawick
File length: 80650 byte(s)
Diff to previous 290189 (colored)
merge from trunk:

*) SECURITY: CAN-2005-2970 (cve.mitre.org)
     worker MPM: Fix a memory leak which can occur after an aborted
     connection in some limited circumstances.  [Greg Ames, Jeff Trawick]


Revision 290189 - (view) (annotate) - [select for diffs]
Modified Mon Sep 19 15:51:22 2005 UTC (4 years, 1 month ago) by colm
File length: 80495 byte(s)
Diff to previous 290179 (colored)
Backport graceful-stop to the 2.2.x branch.


Revision 290179 - (view) (annotate) - [select for diffs]
Modified Mon Sep 19 14:57:07 2005 UTC (4 years, 1 month ago) by colm
File length: 77968 byte(s)
Diff to previous 234103 (colored)
Backport r239710, r239711, r239732, r239740 and r241815 to the 2.2.x branch;
Fix PR 28167, which means we stop listening on ports when we do a
graceful-restart.


Revision 234103 - (view) (annotate) - [select for diffs]
Added Sat Aug 20 18:21:45 2005 UTC (4 years, 2 months ago) by pquerna
File length: 77942 byte(s)
Recreate 2.2.x branch from trunk.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2