mirror of
https://github.com/Gouryella/drip.git
synced 2026-02-26 14:21:17 +00:00
feat(tunnel): switch to yamux stream proxying and connection pooling
- Introduce pooled tunnel sessions (TunnelID/DataConnect) on client/server - Proxy HTTP/HTTPS via raw HTTP over yamux streams; pipe TCP streams directly - Move UI/stats into internal/shared; refactor CLI tunnel helpers; drop msgpack/hpack legacy
This commit is contained in:
@@ -9,6 +9,10 @@ const (
|
||||
// DefaultWSPort is the default WebSocket port
|
||||
DefaultWSPort = 8080
|
||||
|
||||
// YamuxAcceptBacklog controls how many incoming streams can be queued
|
||||
// before yamux starts blocking stream opens under load.
|
||||
YamuxAcceptBacklog = 4096
|
||||
|
||||
// HeartbeatInterval is how often clients send heartbeat messages
|
||||
HeartbeatInterval = 2 * time.Second
|
||||
|
||||
|
||||
Reference in New Issue
Block a user