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)
committerRaspbian forward porter <root@raspbian.org>
Sat, 13 Jul 2019 01:30:09 +0000 (02:30 +0100)
commiteea12a9f6a6682ff93e0ceeff37639638eeeabbd
tree268ddeb2b6745e62c9cebbf9adc3c44b2bb2bb09
parentef98f1abe6174b7447ffe7a329bf60a7638c4cb5
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