From: Pierce Lopez Date: Sat, 30 Dec 2017 23:34:32 +0000 (-0500) Subject: fix HTTPInputError reference for improperly terminated chunked request X-Git-Tag: v4.5.3~1^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1f7d2ef8a5428ad64877191a4efafa47b9fe752;p=thirdparty%2Ftornado.git fix HTTPInputError reference for improperly terminated chunked request bug introduced in #2225 --- diff --git a/tornado/http1connection.py b/tornado/http1connection.py index 9b33c94ed..32bed6c96 100644 --- a/tornado/http1connection.py +++ b/tornado/http1connection.py @@ -595,7 +595,7 @@ class HTTP1Connection(httputil.HTTPConnection): if chunk_len == 0: crlf = yield self.stream.read_bytes(2) if crlf != b'\r\n': - raise HTTPInputError("improperly terminated chunked request") + raise httputil.HTTPInputError("improperly terminated chunked request") return total_size += chunk_len if total_size > self._max_body_size: