Skip to content

Fix bot and IP blocking for HTTP2 server in stream mode#886

Open
timokoessler wants to merge 2 commits intomainfrom
http2-stream-blocking
Open

Fix bot and IP blocking for HTTP2 server in stream mode#886
timokoessler wants to merge 2 commits intomainfrom
http2-stream-blocking

Conversation

@timokoessler
Copy link
Member

@timokoessler timokoessler commented Jan 16, 2026

Summary by Aikido

Security Issues: 0 Quality Issues: 0 Resolved Issues: 0

⚡ Enhancements

  • Added HTTP/2 session listener wrapper to instrument stream events.

🐛 Bugfixes

  • Updated blockIPsAndBots to support HTTP/2 streams and unified responses.
  • Checked HTTP/2 stream blocking earlier and marked context when blocked.

More info

@codecov
Copy link

codecov bot commented Jan 16, 2026

Codecov Report

❌ Patch coverage is 92.30769% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...sources/http-server/http2/createSessionListener.ts 84.09% 7 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant