On 5/31/2015 6:13 PM, Daniel Stenberg wrote:
On Sun, 31 May 2015, Pär Björklund wrote:

I don't run any machine with schannel myself so I can't help much to debug this for real, but I can chime in with some observations.

I've narrowed it down to the loop in in readwrite_data, data_pending is always returning true because there is more data pending

Surely there isn't _always_ truly data pending? Sounds like a bug lurking.

Can you dig a little deeper and make sure schannel_recv() returns CURLE_AGAIN in the 'err' field when there's nothing more to read?

There is still a bug in schannel [1]. My existing draft is pretty close but it's not easy to cover all corner cases. I will get on this tomorrow. Pär can you please try building from https://github.com/jay/curl/commit/9d0abb1 and let us know what happens.

[1]: https://github.com/bagder/curl/issues/244

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to