1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-08 23:28:18 -05:00
denoland-deno/cli/tests
Matt Mastracci 9198bbd454
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-28 13:29:34 -06:00
..
integration test(bench): mark explicit timer test as flaky (#20304) 2023-08-27 22:22:23 +02:00
node_compat fix(node/http): correctly send Content-length header instead of Transfer-Encoding: chunked (#20127) 2023-08-28 09:32:54 +02:00
testdata fix(bench): explicit timers don't force high precision measurements (#20272) 2023-08-26 11:29:45 +02:00
unit fix(ext/http): don't panic on stream responses in cancelled requests (#20316) 2023-08-28 13:29:34 -06:00
unit_node fix(node): propagate create cipher errors (#20280) 2023-08-26 10:45:37 +05:30
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00