Fix using v2ray websocket transport with detour

This commit is contained in:
世界
2023-06-07 21:03:21 +08:00
parent 22028602e8
commit c5902f2473
2 changed files with 32 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
package v2raywebsocket
import (
"net"
"time"
)
type deadConn struct {
net.Conn
}
func (c *deadConn) SetDeadline(t time.Time) error {
return nil
}
func (c *deadConn) SetReadDeadline(t time.Time) error {
return nil
}
func (c *deadConn) SetWriteDeadline(t time.Time) error {
return nil
}