]> git.ipfire.org Git - thirdparty/tornado.git/commit
http1connection: Stricter handling of transfer-encoding
authorBen Darnell <ben@bendarnell.com>
Wed, 5 Jun 2024 20:50:11 +0000 (16:50 -0400)
committerBen Darnell <ben@bendarnell.com>
Wed, 5 Jun 2024 20:50:11 +0000 (16:50 -0400)
commitfb119c767e9c43e71ea823311b0d53f566d86b73
treee8905526c7ca5f1e6717631b29ab021bf49111c5
parent0efa9a42b4c94ee98549d86992c68227f83efd4e
http1connection: Stricter handling of transfer-encoding

Unexpected transfer-encoding values were previously ignored and treated
as the HTTP/1.0 default of read-until-close. This can lead to framing
issues with certain proxies. We now treat any unexpected value as an
error.
tornado/http1connection.py
tornado/test/httpserver_test.py
tornado/test/simple_httpclient_test.py