cURL / Mailing Lists / curl-library / Single Mail


[PATCH] Fix for intermittent upload failure

From: David Warman <>
Date: Fri, 11 Apr 2014 16:04:33 +0100

Hi all,

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.

Since this was network related, it is not easy to reproduce, but
I had several hundred devices affected before applying the patch,
and no complaints since (it's been a few months now, so I thought
it was time to send it on).

I have confirmed that the tests still pass, but I haven't found a
way of automating the original failure.

The attached patch is against the current git (at the time of


David Warman.

List admin:

Received on 2014-04-11