After implementing support for chunk-encoded request bodies
for Privoxy, the curl tests 565 and 1333 kept failing when
using Privoxy as proxy anyway.

The problem seems to be that curl doesn't properly chunk-encode
content-free request bodies and sends "CR LF 0 CR LF CR LF"
instead of "0 CR LF CR LF" ("last-chunk" + CR LF).

The tests work without Privoxy because they expect the stray
CR LF at the beginning of the body.

The attached patch fixes this.

Fabian

Attachment: 0001-Remove-stray-CRLF-in-chunk-encoded-content-free-requ.patch.gz
Description: GNU Zip compressed data

Attachment: signature.asc
Description: PGP signature

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

Reply via email to