fix: bound streamable HTTP memory usage (#970)
* fix: bound streamable HTTP memory usage * fix: handle SSE comment lines safely * refactor: narrow SSE limit public API surface
This commit is contained in:
parent
1543a1afee
commit
24ba5265e2
1 changed files with 811 additions and 39 deletions
|
|
@ -153,7 +153,7 @@ server-side-http = [
|
|||
transport-worker = ["dep:tokio-stream"]
|
||||
|
||||
# SSE stream parsing utilities (used by streamable HTTP client for SSE-formatted responses)
|
||||
client-side-sse = ["dep:sse-stream", "dep:http", "base64"]
|
||||
client-side-sse = ["dep:sse-stream", "dep:http", "dep:bytes", "base64"]
|
||||
|
||||
# Streamable HTTP client
|
||||
transport-streamable-http-client = ["client-side-sse", "transport-worker"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue