journal-remote: do not request Content-Length if Transfer-Encoding is chunked
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Mar 2019 03:27:18 +0000 (12:27 +0900)
committerMichael Biebl <biebl@debian.org>
Fri, 24 May 2019 20:58:59 +0000 (21:58 +0100)
commit784e7a07bc750097eaaf1f3301d7ecf9f3509f26
tree260ff0eb2ba540a35ef679b207f70f02d577cf83
parent61cb5cee2479a97cb5f5124cbd13ae82b053be5f
journal-remote: do not request Content-Length if Transfer-Encoding is chunked

This fixes a bug introduced by 7fdb237f5473cb8fc2129e57e8a0039526dcb4fd.

Closes #11571.

(cherry picked from commit a289dfd69b3ff4bccdde93e84b67c947bafa27e1)

Gbp-Pq: Name journal-remote-do-not-request-Content-Length-if-Transfer-.patch
src/journal-remote/journal-remote-main.c