Since the curl version 7.58, the chunked Transfer-Encoding response that 
contains a negative content length are considered as invalid.
These kinds of message seem correct to me (cf 
https://en.wikipedia.org/wiki/Chunked_transfer_encoding?oldid=430331176) and I 
may considering this as a regression from curl.

Actually I have to specify the option CURLOPT_IGNORE_CONTENT_LENGTH, to 
maintain the curl integration in my code to communicate with our legacy server.
Is there any ways to adapt this behavior in the file http.c, to not take in 
account a negative content length in case of chunked response?

Thanks for your lights
Regards

Denis
[Thales]

Denis GENESTIER
INGENIEUR COMPOSANTS LOGICIEL
Tel.: +33 (0) 1 73 32 19 51
Fax: +33 (0)1 73 32 16 95

THALES
22 rue Grange Dame Rose
78140 VELIZY

www.thalesgroup.com<http://www.thalesgroup.com>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_linkedin.png]<http://www.linkedin.com/company/thales>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_twitter.png]<https://twitter.com/thalesgroup>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_fb.png]<https://www.facebook.com/thalesgroup>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_youtube.png]<https://www.youtube.com/user/thethalesgroup>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_pinterest.png]<https://pinterest.com/thalesgroup/>

[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_google.png]<https://plus.google.com/+thales>










-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to