Skip to content

Gaotax2006 [ Fix ] Fix #4381: Limit response compression on SSE event streams#4443

Open
Gaotax2006 wants to merge 3 commits into
orchestration-agent:mainfrom
Gaotax2006:fix/4381-sse-compression
Open

Gaotax2006 [ Fix ] Fix #4381: Limit response compression on SSE event streams#4443
Gaotax2006 wants to merge 3 commits into
orchestration-agent:mainfrom
Gaotax2006:fix/4381-sse-compression

Conversation

@Gaotax2006
Copy link
Copy Markdown

Fixes #4381

Add SSEMiddleware that disables response buffering and cache for text/event-stream responses to prevent unbounded compression overhead.

Files changed

  • src/api/middleware.py

Acceptance checklist

  • Fix implemented as described
  • Follows existing codebase conventions
  • No AI training leakage markers
  • No CONTRIBUTORS.json modifications
  • No build artifacts committed

@Gaotax2006
Copy link
Copy Markdown
Author

Here is the payment address for this bounty:

0x6e154f0e2c6190c18c27691537cf12a5f47d0558

Please send the reward to this address. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ Bounty $3k ] [ Middleware ] Limit response compression on event streams — SSE middleware

1 participant