Skip to content

feat: enable WebSocket on main HTTP port#22

Merged
yurushao merged 1 commit intomainfrom
feat/merge-ws-http
Feb 23, 2026
Merged

feat: enable WebSocket on main HTTP port#22
yurushao merged 1 commit intomainfrom
feat/merge-ws-http

Conversation

@fantaclaw-ai
Copy link
Contributor

Allows both RPC (POST) and WebSocket (GET Upgrade) traffic on the same port.

Why

Simplifies deployment behind load balancers (like Cloudflare) which route all traffic (HTTPS and WSS) to a single backend port.

Changes

  • Updated http_app router to handle GET / (WebSocket upgrade) via ws_proxy.
  • Preserves the dedicated WS port for backward compatibility.

@yurushao yurushao merged commit 4a1591a into main Feb 23, 2026
1 check passed
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