Merge branch 'mk/http-backend-content-length'
commitfe468efff533c3c92c174ae4706532c1521c150c
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Sep 2018 17:29:16 +0000 (10 10:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Sep 2018 17:35:42 +0000 (10 10:35 -0700)
treec5ffc1d319f4c13843c6ed398d9f12724cfcd072
parentc05048d43925ab8edcb36663752c2b4541911231
parent574c513e8dda5598e9e08e8ca2a048bf120a5709
Merge branch 'mk/http-backend-content-length'

The earlier attempt barfed when given a CONTENT_LENGTH that is
set to an empty string.  RFC 3875 is fairly clear that in this
case we should not read any message body, but we've been reading
through to the EOF in previous versions (which did not even pay
attention to the environment variable), so keep that behaviour for
now in this late update.

* mk/http-backend-content-length:
  http-backend: allow empty CONTENT_LENGTH
http-backend.c