httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <mt...@mappingsoft.com>
Subject RE: [PATCH] mpm_winnt -- check for connection and then update context
Date Tue, 20 Nov 2001 18:35:02 GMT


> -----Original Message-----
> From: Bill Stoddard [mailto:bill@wstoddard.com]
> Sent: Tuesday, November 20, 2001 4:27 PM
> To: dev@httpd.apache.org; mturk@mappingsoft.com
> Subject: Re: [PATCH] mpm_winnt -- check for connection and then 
> update context
> 
> 
> I believe the attached patch is a better solution. The
> setsockopt(SO_UPDATE_ACCEPT_CONTEXT) needs to be issued on the 
> socket once the socket has
> been accepted (after AcceptEx, not before). There is an 
> optimization to not call
> setsockopt on accept sockets that are being reused but I'll worry 
> about that later. Let me
> know how this patch works.
> 
> Bill

It does.
Actually that was the first thing I've tried ;-)


MT.


Mime
View raw message