Skip to content

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

Merged
hansott merged 5 commits into
mainfrom
http2-stream-blocking
Jul 17, 2026
Merged

Fix bot and IP blocking for HTTP2 server in stream mode#886
hansott merged 5 commits into
mainfrom
http2-stream-blocking

Conversation

@timokoessler

@timokoessler timokoessler commented Jan 16, 2026

Copy link
Copy Markdown
Member

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

codecov Bot commented Jan 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread library/sources/http-server/http2/createStreamListener.ts
Comment thread library/sources/http-server/http2/createSessionListener.ts
Comment thread library/sources/http-server/http2/createSessionListener.ts
@hansott
hansott merged commit 07c0e39 into main Jul 17, 2026
61 of 64 checks passed
@hansott
hansott deleted the http2-stream-blocking branch July 17, 2026 08:33
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.

2 participants