Mailing Lists
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1352 WinSSL times out when uploading and timeout option is set to 0
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Thu, 03 Apr 2014 11:54:18 +0000
- **assigned_to**: Daniel Stenberg
Thanks for your report.
Without a timeout set, there's still a default timeout that is used during connection that seems to be what should be in use in that condition. See Curl_timeleft() in lib/connect.c
Curl_socket_ready() should then not return (with a zero value) until that timeout has passed so I think the code looks correct.
If not, can you write a suggested fix that you think makes the logic work better?
The logic seems to be present pretty much the same even in the latest curl release.
--- ** [bugs:#1352] WinSSL times out when uploading and timeout option is set to 0** **Status:** open **Labels:** winssl **Created:** Wed Apr 02, 2014 09:50 PM UTC by Edward Rudd **Last Updated:** Wed Apr 02, 2014 09:50 PM UTC **Owner:** Daniel Stenberg We are using libcurl (currently 7.29) compiled with WinSSL for our Windows build of the application. We are having a weird issue with where we are receiving a timeout when uploading data and should NOT receive one as we have the CURLOPT_TIMEOUT set to 0 (the default value). when looking through the code in curl_schannel.c there seems to be a condition not handled while uploading the data. the Curl_socket_ready method will return 0 (meaning the write socket is not ready), and instead of trying waiting and trying again, the schannel_send method will simply abort with a timeout error. --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2014-04-03 These mail archives are generated by hypermail. |
Page updated March 21, 2014.
web site info