No Connection: close
header in response by hyper server, when client sends it.
#2973
Labels
C-bug
Category: bug. Something is wrong. This is bad!
Version
axum = { version = "0.5.15" }
tokio = { version = "1.20", features = ["full"] }
Corresponding to
Cargo.toml
of axum,hyper = { version = "0.14.14" }
Platform
Windows 10 Enterprise x64 (Os build: 19043.1889)
Description
Corresponding to Teardown section of RFC 7230, when client sends
Connection: close
header, server must close connection and response should contain that header.[short summary of the bug]
I tried this code:
So I've decided to check it with bare hyper, but result is the same:
I expected to see this happen:
Same setup with
actix-web = "4.1"
Screenshot of Actix web
Instead, this happened: [explanation]
The text was updated successfully, but these errors were encountered: