Skip to content

Reject HTTP versions other than 1.0/1.1 in both parsers - #13929

Open
choudhryfrompak wants to merge 1 commit into
aio-libs:masterfrom
choudhryfrompak:harden-http-version-regex
Open

choudhryfrompak wants to merge 1 commit into
aio-libs:masterfrom
choudhryfrompak:harden-http-version-regex

Reject HTTP versions other than 1.0/1.1 in both parsers

b2178fc
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis succeeded Oct 3, 2026 in 0s

Performance Gate Passed

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 96 untouched benchmarks
⏩ 83 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_client_send_large_websocket_compressed_messages[isal.isal_zlib] 74.8 ms 61.7 ms +21.26%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing choudhryfrompak:harden-http-version-regex (b2178fc) with master (a6306fc)

Open in CodSpeed

Footnotes

  1. 83 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩