0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-14 17:47:35 -05:00
denoland-deno/cli/tests
Matt Mastracci f03ffaf540
fix(ext/http): don't panic on stream responses in cancelled requests (#20316)
When a TCP connection is force-closed (ie: browser refresh), the
underlying future we pass to Hyper is dropped which may cause us to try
to drop the body resource while the OpState lock is still held.

Preconditions for this bug to trigger:

 - The body resource must have been taken
- The response must return a resource (which requires us to take the
OpState lock)
 - The TCP connection must have been dropped before this

Fixes #20315 and #20298
2023-08-31 14:04:07 +02:00
..
integration test(bench): mark explicit timer test as flaky (#20304) 2023-08-31 14:04:06 +02:00
node_compat fix(ext/node): allow for the reassignment of userInfo() on Windows (#20165) 2023-08-21 18:23:27 +05:30
testdata fix(bench): explicit timers don't force high precision measurements (#20272) 2023-08-31 14:02:40 +02:00
unit fix(ext/http): don't panic on stream responses in cancelled requests (#20316) 2023-08-31 14:04:07 +02:00
unit_node fix(node): propagate create cipher errors (#20280) 2023-08-31 14:02:40 +02:00
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00