fix(http): drain SSE stream for connection reuse (#790)

* fix(http): reduce latency on subsequent StreamableHttp calls

* refactor: rely on stream drain for connection reuse

* refactor: clean up comments and naming

* fix: restore pool_max_idle_per_host(0) for Linux
This commit is contained in:
Dale Seo 2026-04-13 16:33:30 -04:00 • committed by GitHub
commit c99903a67a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -339,3 +339,16 @@ required-features = [
]
path = "tests/test_streamable_http_stale_session.rs"
[[test]]
name = "test_streamable_http_connection_reuse"
required-features = [
"server",
"client",
"macros",
"schemars",
"transport-streamable-http-server",
"transport-streamable-http-client",
"transport-streamable-http-client-reqwest",
]
path = "tests/test_streamable_http_connection_reuse.rs"