On Thu, 12 Sep 2019, Daniel Stenberg via curl-library wrote:
My attempt to work around this kind of rubbish in the response can be found
in this PR I just filed:
https://github.com/curl/curl/pull/4339
Philippe, can you check if that patch fixes the problem for you? I wrote up a
test case that tries to mimic your server and it works, but I would feel safer
if you could verify as well!
--
/ daniel.haxx.se | Get the best commercial curl support there is - from me
| Private help, bug fixes, support, ports, new features
| https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html