Skip to content

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

Open
timokoessler wants to merge 3 commits into
mainfrom
http2-stream-blocking
Open

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

Conversation

@timokoessler
Copy link
Copy Markdown
Member

@timokoessler timokoessler commented Jan 16, 2026

Summary by Aikido

Security Issues: 0 🔍 Quality Issues: 1 Resolved Issues: 0

⚡ Enhancements

  • Extended blockIPsAndBots to support HTTP/2 streams and responses.
  • Added createSessionListener and registered it to wrap HTTP/2 sessions.

🐛 Bugfixes

  • Disabled HTTP/2 stream listener when IP or bot blocking applied.

More info

@codecov
Copy link
Copy Markdown

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!

Comment thread library/sources/http-server/http2/createSessionListener.ts
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