Unverified Commit 06a71367 authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #699 from capnproto/harris/log-unknown-transfer-encodings

Log unknown Transfer-Encoding values in kj-http
parents 59c7e52b 6534ffa3
...@@ -1586,7 +1586,7 @@ kj::Own<kj::AsyncInputStream> HttpInputStream::getEntityBody( ...@@ -1586,7 +1586,7 @@ kj::Own<kj::AsyncInputStream> HttpInputStream::getEntityBody(
if (fastCaseCmp<'c','h','u','n','k','e','d'>(te->cStr())) { if (fastCaseCmp<'c','h','u','n','k','e','d'>(te->cStr())) {
return kj::heap<HttpChunkedEntityReader>(*this); return kj::heap<HttpChunkedEntityReader>(*this);
} else { } else {
KJ_FAIL_REQUIRE("unknown transfer encoding") { break; } KJ_FAIL_REQUIRE("unknown transfer encoding", *te) { break; }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment