jpillora / jpillora/chisel

SSE transport for environments that block WebSocket upgrades

Open
#589 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
16.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

chisel only speaks WebSocket today, so it can't connect through proxies or gateways that block or strip the Upgrade: websocket handshake (long-standing asks #24, #375; #507 is an example of chisel's transport blocked in the wild).

I've implemented an opt-in SSE+POST transport: a long-lived GET /sse for server→client, one POST /sse per client→server frame. It's --sse on the client, the server auto-accepts on /sse, and WebSocket stays the default. It reduces to a net.Conn behind the existing share/cnet seam (like conn_ws.go / conn_rwc.go), keeps chisel's single multiplexed SSH session, and adds no new dependencies (stdlib only).

I saw you built webdial with the same WS-primary / SSE+POST-fallback design. Would you prefer chisel's SSE built on webdial, or kept inline/stdlib? Happy to go either way; benchmarks and tests are ready.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the share/cnet seam and the existing conn_ws.go and conn_rwc.go implementations, then trace the client --sse option and server /sse entry point. Compare the proposed inline stdlib approach with webdial, and use the mentioned benchmarks and tests to verify the transport while preserving WebSocket as the default.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.