curl-library
Re: Using fopensocket instead of direct socket call
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 7 Dec 2011 16:05:06 +0100 (CET)
Date: Wed, 7 Dec 2011 16:05:06 +0100 (CET)
On Wed, 7 Dec 2011, Gokhan Sengun wrote:
> Thanks for the fixes. Merging and testing the fix today, I noticed a small
> problem. When the connection is re-used, opensocket calls are not matching
> closesocket calls because conn->sock_accepted[SECONDARYSOCKET] is never set
> to FALSE after being set to TRUE in the first accept.
>
> Below change seems to fix the problem. Any comment?
Thanks. You're right of course about the problem, but I think I managed to do
your fix in a slightly nicer way that I've just pushed!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-12-07