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, 29 Jan 2021 14:16:06 +0000 (14:16 +0000)
commit873f6c6ecea677085592cfe05682f638605216c4
treed9b5d7d3e54bfabe0eb0e14e62ef3b87aad00bdc
parentfe3a03c9277f65fef967d2efa593f5113d83a538
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