mirror of
https://github.com/denoland/deno.git
synced 2025-02-13 17:25:28 -05:00
![Luca Casonato](/assets/img/avatar_default.png)
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.
41 lines
1 KiB
TOML
41 lines
1 KiB
TOML
# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "deno_http"
|
|
version = "0.76.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
repository.workspace = true
|
|
description = "HTTP server implementation for Deno"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[[bench]]
|
|
name = "compressible"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
async-compression = { version = "0.3.12", features = ["tokio", "brotli", "gzip"] }
|
|
base64.workspace = true
|
|
brotli = "3.3.4"
|
|
bytes.workspace = true
|
|
cache_control.workspace = true
|
|
deno_core.workspace = true
|
|
deno_websocket.workspace = true
|
|
flate2.workspace = true
|
|
fly-accept-encoding = "0.2.0"
|
|
hyper = { workspace = true, features = ["server", "stream", "http1", "http2", "runtime"] }
|
|
mime = "0.3.16"
|
|
percent-encoding.workspace = true
|
|
phf = { version = "0.10", features = ["macros"] }
|
|
pin-project.workspace = true
|
|
ring.workspace = true
|
|
serde.workspace = true
|
|
tokio.workspace = true
|
|
tokio-util = { workspace = true, features = ["io"] }
|
|
|
|
[dev-dependencies]
|
|
bencher.workspace = true
|