On Fri, 11 Apr 2014, David Warman wrote:
I ran into an issue where SSL based uploads were failing sometimes. I
eventually traced this to a problem with EAGAIN near the start of the
transfer, before any data had been sent. This only happened to me with SSL,
although it may be possible under other conditions.
Thanks a lot for helping us improve libcurl. A question though on your patch:
You say in the commit message:
"If this module doesn't know the final upload size, data->set.infilesize may
be zero."
...but that's not true! Internally it is set to -1 by default and I just
checked the man page and it says -1 should be used to "unset" the value.
Can you elaborate on when this variable legitimately would be 0 to signal
unknown size?
I'm asking since the rest of the patch seems to build on that condition and I
want to understand that condition better first!
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html