1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/ext/http
Luca Casonato 8e947bb674
fix(ext/http): close stream on resp body error (#17126)
Previously, errored streaming response bodies did not cause the HTTP
stream to be aborted. It instead caused the stream to be closed gracefully,
which had the result that the client could not detect the difference
between a successful response and an errored response.

This commit fixes the issue by aborting the stream on error.
2022-12-20 08:46:45 +00:00
..
benches perf(ext/http): faster is_content_compressible (#14383) 2022-04-24 21:45:56 +02:00
01_http.js fix(ext/http): close stream on resp body error (#17126) 2022-12-20 08:46:45 +00:00
Cargo.toml fix(ext/http): close stream on resp body error (#17126) 2022-12-20 08:46:45 +00:00
compressible.rs perf(ext/http): faster is_content_compressible (#14383) 2022-04-24 21:45:56 +02:00
lib.rs fix(ext/http): close stream on resp body error (#17126) 2022-12-20 08:46:45 +00:00
reader_stream.rs fix(ext/http): close stream on resp body error (#17126) 2022-12-20 08:46:45 +00:00
README.md chore: add README to ext/http/ (#11958) 2021-09-08 20:48:28 +02:00

deno_http

This crate implements server-side HTTP based on primitives from the Fetch API.