mirror of
https://github.com/go-gost/gost.git
synced 2026-10-08 20:15:46 +00:00
add kcp dialer
This commit is contained in:
@@ -12,7 +12,7 @@ type kcpCompStreamConn struct {
|
||||
r *snappy.Reader
|
||||
}
|
||||
|
||||
func KCPCompStreamConn(conn net.Conn) net.Conn {
|
||||
func CompStreamConn(conn net.Conn) net.Conn {
|
||||
return &kcpCompStreamConn{
|
||||
Conn: conn,
|
||||
w: snappy.NewBufferedWriter(conn),
|
||||
|
||||
Reference in New Issue
Block a user