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>
Mon, 8 Jul 2019 09:27:51 +0000 (10:27 +0100)
commit1cdff8df495d2a36ced517646077dc0abb744e36
tree870cd2a7a3d712392c78d9751ca318b2e19ac462
parent06d1cb56328eaa0270a23909a91156ba95b1bbfe
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