mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 16:00:45 +00:00
fc4bcab2ef
If HttpResponse is being closed prematurally (e.g. because client decided to close its request) we need to propagate cancellation to the stream which is being piped into the response. Otherwise we will keep that stream forever hanging around and leak underlying resources. Fixes https://github.com/dart-lang/sdk/issues/55886 TEST=tests/standalone/io/regress_55886_test.dart R=kustermann@google.com Change-Id: I7c294ed19cc7c350fd101b078bd650ce8a6526a2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/369061 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
co19 | ||
corelib | ||
dartdevc | ||
ffi | ||
hot_reload | ||
language | ||
lib | ||
macro_build | ||
modular | ||
standalone | ||
web | ||
legacy_status_dart2js.csv | ||
OWNERS | ||
README.md |
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/tree/main/docs/Testing.md.