Skip to content

Commit de32687

Browse files
committed
test: Add a regression corpus of past security fixes
security_corpus_test.py sends the trigger input of each past server-side security fix to a real HTTPServer and checks only the response and the logs, so the tests survive rewrites of the parsers they cover. The three quadratic-parsing fixes are checked for linear scaling end to end. Each case fails on the release before its fix. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01TuTKdWgh56FRF7yJqaX9ug (cherry picked from commit 63529c2)
1 parent 7848790 commit de32687

2 files changed

Lines changed: 506 additions & 0 deletions

File tree

‎tornado/test/runtests.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"tornado.test.property_test",
4545
"tornado.test.queues_test",
4646
"tornado.test.routing_test",
47+
"tornado.test.security_corpus_test",
4748
"tornado.test.simple_httpclient_test",
4849
"tornado.test.tcpclient_test",
4950
"tornado.test.tcpserver_test",

0 commit comments

Comments
 (0)