diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-06-14 14:52:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-14 14:52:49 +0200 |
| commit | 1e1959f6fac6dd0e499532772c8143285cdd81de (patch) | |
| tree | a321b9351d1d860b4e6026896cc45966cae96c8d /Cargo.lock | |
| parent | 5814315b708d154ebb2c29810c16e5af7e726741 (diff) | |
fix: hang in Deno.serveHttp() (#10923)
Waiting on next request in Deno.serveHttp() API hanged
when responses were using ReadableStream. This was caused
by op_http_request_next op that was never woken after
response was fully written. This commit adds waker field to
DenoService which is called after response is finished.
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock index 022a609b8..7bd3314b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1636,9 +1636,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.7" +version = "0.14.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e5f105c494081baa3bf9e200b279e27ec1623895cd504c7dbef8d0b080fcf54" +checksum = "07d6baa1b441335f3ce5098ac421fb6547c46dda735ca1bc6d0153c838f9dd83" dependencies = [ "bytes", "futures-channel", @@ -1650,7 +1650,7 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project", + "pin-project-lite", "socket2 0.4.0", "tokio", "tower-service", |
