Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 48094] Avoid a race condition by suspending worker threads before closing worker sockets

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Oct 31, 2009, 11:42 PM

Post #1 of 6 (234 views)
Permalink
[Bug 48094] Avoid a race condition by suspending worker threads before closing worker sockets

https://issues.apache.org/bugzilla/show_bug.cgi?id=48094

--- Comment #1 from Bojan Smojver <bojan[at]rexursive.com> 2009-11-01 00:42:43 UTC ---
Created an attachment (id=24450)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24450)
Same for 2.2.x

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org


bugzilla at apache

Oct 31, 2009, 11:43 PM

Post #2 of 6 (220 views)
Permalink
[Bug 48094] Avoid a race condition by suspending worker threads before closing worker sockets [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48094

Bojan Smojver <bojan[at]rexursive.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #24449|application/octet-stream |text/plain
mime type| |
Attachment #24449|0 |1
is patch| |

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org


bugzilla at apache

Oct 31, 2009, 11:44 PM

Post #3 of 6 (221 views)
Permalink
[Bug 48094] Avoid a race condition by suspending worker threads before closing worker sockets [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48094

--- Comment #2 from Bojan Smojver <bojan[at]rexursive.com> 2009-11-01 00:44:29 UTC ---
Please note, I actually tested the 2.2.x patch. The patch against trunk has
been edited to apply.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org


bugzilla at apache

Nov 1, 2009, 2:47 PM

Post #4 of 6 (211 views)
Permalink
[Bug 48094] Avoid a race condition by suspending worker threads before closing worker sockets [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48094

Bojan Smojver <bojan[at]rexursive.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #24449|0 |1
is obsolete| |

--- Comment #3 from Bojan Smojver <bojan[at]rexursive.com> 2009-11-01 14:47:34 UTC ---
Created an attachment (id=24453)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24453)
(Hopefully) safe close_worker_sockets()

Somewhat simpler and more Unixy patch, using sigsuspend() and atomic counters.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org


bugzilla at apache

Nov 1, 2009, 2:48 PM

Post #5 of 6 (211 views)
Permalink
[Bug 48094] Avoid a race condition by suspending worker threads before closing worker sockets [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48094

Bojan Smojver <bojan[at]rexursive.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #24450|0 |1
is obsolete| |

--- Comment #4 from Bojan Smojver <bojan[at]rexursive.com> 2009-11-01 14:48:00 UTC ---
Created an attachment (id=24454)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24454)
Same for 2.2.x

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org


bugzilla at apache

Nov 5, 2009, 1:42 AM

Post #6 of 6 (184 views)
Permalink
[Bug 48094] Avoid a race condition by suspending worker threads before closing worker sockets [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48094

Arkadiusz Miskiewicz <arekm[at]pld-linux.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |arekm[at]pld-linux.org

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.