|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3297118 ] some sockets hang in CLOSE_WAIT forever?
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 26 May 2011 22:20:15 +0000
Bugs item #3297118, was opened at 2011-05-03 21:31
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
I haven't seen this issue myself, but I'm not running OS X. So I don't know if this is (a) an issue with libcurl, or (b) an issue with how Transmission is using libcurl, or (c) a phantom issue.
(b) seems the most likely, since there are more eyes on libcurl than on Transmission... but its use of libcurl is trivially straightforward. Does this look correct:
multi = curl_multi_init( );
// possibly wait a bit via curl_multi_timeout() + curl_multi_fdset() + select()
// perform
// pump completed tasks from the multi
Does this look correct to you?
One option suggested is to try CURLOPT_FORBID_REUSE, but that seems like a blunt tool for this case. If Transmission or libcurl really are leaking sockets, it would be better to find out why than to disable reuse.
Thanks for your time. If you have any questions please ask.
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Message:
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
We're awaiting feedback in this issue. Due to this, I have set the state
Please consider answering the outstanding questions or providing the
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
They are not there "indefinitely" (and they really can't be) since the
Your code looks correct and quite frankly, I don't think you describe a
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info