[client,relay] Add QUIC support (#2962)

This commit is contained in:
Zoltan Papp
2025-01-15 16:28:19 +01:00
committed by GitHub
parent e4a25b6a60
commit 1ffa519387
25 changed files with 943 additions and 33 deletions

View File

@@ -26,6 +26,7 @@ func NewConn(wsConn *websocket.Conn, serverAddress string) net.Conn {
func (c *Conn) Read(b []byte) (n int, err error) {
t, ioReader, err := c.Conn.Reader(c.ctx)
if err != nil {
// todo use ErrClosedByServer
return 0, err
}