]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
fix HTTPInputError reference for improperly terminated chunked request 2236/head
authorPierce Lopez <pierce.lopez@gmail.com>
Sat, 30 Dec 2017 23:34:32 +0000 (18:34 -0500)
committerPierce Lopez <pierce.lopez@gmail.com>
Sat, 30 Dec 2017 23:34:32 +0000 (18:34 -0500)
bug introduced in #2225

tornado/http1connection.py

index 331386a158ac4b073e1cff161962b1b87e974f7c..cf1572602bc4d0845a6eca6b05db38fbe75be4a3 100644 (file)
@@ -601,7 +601,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: