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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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

Revision 396056 - (view) (annotate) - [select for diffs]
Modified Sat Apr 22 01:53:06 2006 UTC (3 years, 7 months ago) by pquerna
File length: 2755 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, 7 months ago) by colm
File length: 2755 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 (4 years ago) by jim
File length: 2755 byte(s)
Diff to previous 234103 (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 234103 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 18:21:45 2005 UTC (4 years, 3 months ago) by pquerna
File length: 2759 byte(s)
Diff to previous 151408 (colored)
Recreate 2.2.x branch from trunk.

Revision 151408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 20:28:49 2005 UTC (4 years, 9 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 2759 byte(s)
Diff to previous 106103 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 2723 byte(s)
Diff to previous 102619 (colored)
general property cleanup

Revision 102619 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:40:53 2004 UTC (5 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 2723 byte(s)
Diff to previous 102587 (colored)
fix name of The Apache Software Foundation

Revision 102587 - (view) (annotate) - [select for diffs]
Modified Sun Feb 8 13:52:12 2004 UTC (5 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 2719 byte(s)
Diff to previous 102525 (colored)
fix copyright dates according to the first checkin

Revision 102525 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 22:58:42 2004 UTC (5 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 2719 byte(s)
Diff to previous 102135 (colored)
apply Apache License, Version 2.0

Revision 102135 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 13:26:26 2004 UTC (5 years, 10 months ago) by nd
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 4938 byte(s)
Diff to previous 101154 (colored)
update license to 2004.

Revision 101154 - (view) (annotate) - [select for diffs]
Modified Wed Sep 3 19:27:12 2003 UTC (6 years, 2 months ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 4938 byte(s)
Diff to previous 100541 (colored)
switch to APR 1.0 API (which is still in flux)

because of the changes to the argument lists of apr_mmap_dup and apr_socket_create,
2.1-dev won't build with apr and apr-util's 0.9 branch anymore

Revision 100541 - (view) (annotate) - [select for diffs]
Modified Thu Jul 10 20:11:15 2003 UTC (6 years, 4 months ago) by jorton
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 4938 byte(s)
Diff to previous 99032 (colored)
Minor cleanup:

* pod.c (pod_signal_internal): apr_file_write() is defined to
never return EINTR, so don't check for that case.

Revision 99032 - (view) (annotate) - [select for diffs]
Modified Thu Mar 20 21:50:40 2003 UTC (6 years, 8 months ago) by wrowe
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 4990 byte(s)
Diff to previous 98573 (colored)
  SECURITY:  Eliminated leaks of several file descriptors to child
  processes, such as CGI scripts.

PR: 17206
Submitted by:	Christian Kratzer <ck@cksoft.de>, Bjoern A. Zeeb <bz@zabbadoz.net>
Reviewed by:	Joe Orton, Will Rowe

Revision 98573 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 17:53:28 2003 UTC (6 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 4865 byte(s)
Diff to previous 94567 (colored)
finished that boring job:
update license to 2003.

Happy New Year! ;-))

Revision 94567 - (view) (annotate) - [select for diffs]
Modified Tue Apr 9 06:49:18 2002 UTC (7 years, 7 months ago) by aaron
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 4865 byte(s)
Diff to previous 94232 (colored)
Remove many unnecessary includes, incl. apr_lock.h

Revision 94232 - (view) (annotate) - [select for diffs]
Modified Wed Mar 27 20:37:32 2002 UTC (7 years, 8 months ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 5174 byte(s)
Diff to previous 94031 (colored)
worker MPM:

get MaxRequestsPerChild to work again by allowing the main thread of
a child to be interrupted by one of the other threads in the process

this should get graceful termination to work after encountering one of
the various possible error conditions in the listener and worker threads

Revision 94031 - (view) (annotate) - [select for diffs]
Modified Wed Mar 20 03:54:25 2002 UTC (7 years, 8 months ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 5078 byte(s)
Diff to previous 93918 (colored)
Make the listener thread stop accepting new connections and exit
cleanly at graceful restart time.  This is a basic requirement of
reliable graceful restarts (the kind that won't drop connections).
This allows a future fix to make worker threads hang around until
they service all connections previously accepted by the listener
thread.

The old mechanism of doing a dummy connection to wake up the
listener thread in each old child process didn't work.  It didn't
guarantee that (in the main thread) the byte was read from the pod
and global variables were set before the listener thread grabbed
the connection.  It didn't guarantee that a child process in the
new generation didn't get some of the dummy connections.

Rather than burn extra syscalls adding a unique socket or pipe
to the poll set (and breaking single listen unserialized accept
in the same change), this uses a signal sent from the main thread
to the listener thread to break it out of the poll or accept.
(We don't worry about breaking it out of the optional mutex because
the child process holding the mutex will break out of poll/accept
and release the mutex, allowing a child blocked in the mutex to
get it.  Eventually all children blocked in the mutex will come
out.)

Since the listener thread now exits reliably, the main thread
joins it.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 93918 - (view) (annotate) - [select for diffs]
Modified Wed Mar 13 20:48:07 2002 UTC (7 years, 8 months ago) by fielding
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 7513 byte(s)
Diff to previous 93480 (colored)
Update our copyright for this year.

Revision 93480 - (view) (annotate) - [select for diffs]
Modified Mon Feb 18 16:24:51 2002 UTC (7 years, 9 months ago) by trawick
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 7513 byte(s)
Diff to previous 93358 (colored)
close a nearly-impossible leak in dummy_connection (the copy of the
code used by worker MPM)

Revision 93358 - (view) (annotate) - [select for diffs]
Added Mon Feb 11 04:56:10 2002 UTC (7 years, 9 months ago) by rbb
Original Path: httpd/httpd/trunk/server/mpm/worker/pod.c
File length: 7481 byte(s)
Remove all signal handling from the worker MPM's child processes.  Instead,
we use the pipe of death for all communication between parent and child.

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