httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Tuttle <ntut...@photon.poly.edu>
Subject Redo for: Patch closes socket before reopening in open_socket in case of TIME_WAIT exhaustion [Ref A3]
Date Mon, 03 Nov 2003 17:42:20 GMT
Attached is my redo of the patch for flood_net.c explained below:

-Norman Tuttle, developer, OpenDemand Systems ntuttle@opendemand.com

On Thu, 16 Oct 2003, Norman Tuttle wrote:

> This patch makes the open_socket() function non-recursive, providing the 
> benefits of iterative functions in terms of performance, also replacing 
> the close_socket (same level) reference with the lower level 
> apr_socket_close(), since this would reserve close_socket() for a case 
> where the open_socket() successfully occurred. This socket closure now 
> also occurs in the case where a socket is to be reopened in the case of 
> TIME_WAIT exhaustion, which was the recursive condition. Please examine 
> and apply this change, which was made to the current CVS tree, without 
> reference to my former submission.




Mime
View raw message