|  | 
 |  | 
| 
 | cURL  Mailing List  Monthly Index  Single Mail curl-tracker mailing list Archives
 [ curl-Bugs-1891355 ] Progress callback not called during failed socket connect
From: SourceForge.net <noreply_at_sourceforge.net>
 Date: Mon, 18 Feb 2008 08:59:56 -0800 
Bugs item #1891355, was opened at 2008-02-11 19:34
 Please note that this message will contain a full copy of the comment thread,
 Initial Comment:
 Problem appears to be in lib/connect.c, in Curl_connecthost() and/or singleipconnect(). I have absolutely no experience with networking functions except using libcurl, but I added a pgrsUpdate() call in Curl_connecthost() after the singleipconnect() function is called. This has the progress callback called, but only after the blocking singleipconnect() function returns.
 I'll keep trial-and-erroring to see if I can fix this, but quickly looking at the singleipconnect() function and it's blocking standard library calls, I'm not even sure there's a possible fix for this.
 ----------------------------------------------------------------------
 Comment By: Daniel Stenberg (bagder)
 Message:
 First, the progress callback is generally rather pointless for the multi
 Then, libcurl is using non-blocking sockets so the only really blocking
 Doesn't it make sense to add a call to pgrsUpdate() in the
 ----------------------------------------------------------------------
 You can respond by visiting: 
 These mail archives are generated by hypermail. | 
 Page updated November 12, 2010.
Page updated November 12, 2010.
web site info