|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2153446 ] Make CURLINFO_LASTSOCKET accessible during perform
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 29 Oct 2008 23:07:02 +0000
Bugs item #2153446, was opened at 2008-10-08 18:14
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
The difference is that without this change, CURLINFO_LASTSOCKET is confusingly not set from the perspective of any CURLOPT_PROGRESSFUNCTION callback.
Note I'm not certain what the implication might be of removing the data->state.lastconnect setting line from the Curl_done function. Seemingly that choice was arbitrary, but I've left out changing that from my patch.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Why would you need to "see" the socket really? For the easy interface you
----------------------------------------------------------------------
Comment By: vmpdemo (vmpdemo)
Message:
But without CURLOPT_CONNECT_ONLY, this change allows you to see the socket
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
What's your use-case for wanting this info this early in the process? I'm
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info