curl / Mailing Lists / curl-library / Single Mail


Re: Slow Windows uploads (with patch)

From: Daniel Jeliński <>
Date: Fri, 20 Jul 2018 10:29:55 +0200

2018-07-19 18:45 GMT+02:00 Daniel Stenberg <>:

Thank you! I see that the test builds succeeded. What's next?

Meanwhile I went to check if this will benefit MinGW users. I found that:
- MinGW headers do not define SIO_IDEAL_SEND_BACKLOG_QUERY
- MinGW policy [1] suggests that they may be unwilling to accept a
patch with that define, as its value is only available in MS headers
and not in documentation

So in its current form the patch won't help MinGW. Other MinGW
projects worked around that problem by creating that #define in their
own code [2]. Barring that, the next best available option for MinGW
users is to determine optimal buffer size using trial and error, or
just set it as large as possible. Should we put that in the

Received on 2018-07-20