esl/lhttpc — pull request #31 by maxlapshin (2013-08-31 18:50:56+00:00)
Title: fixed handling connection-length with transfer-encoding: chunked

When both transfer-encoding: chunked and content-length are specified, lhttpc behaves wrong (as I think): it just downloads some bytes and that's all.

It is wrong, because transfer-encoding: chunked means that "content-length" bytes are packed with transfer-encoding chunked.

I've changed order of checks in lhttpc_client and added proper test.