mirror of
https://github.com/fatedier/frp.git
synced 2025-07-16 10:51:45 +07:00
support encryption and compression in new http reverser proxy
This commit is contained in:
@ -50,7 +50,7 @@ func (sp *Socks5Plugin) Handle(conn io.ReadWriteCloser) {
|
||||
if realConn, ok := conn.(frpNet.Conn); ok {
|
||||
wrapConn = realConn
|
||||
} else {
|
||||
wrapConn = frpNet.WrapReadWriteCloserToConn(conn)
|
||||
wrapConn = frpNet.WrapReadWriteCloserToConn(conn, realConn)
|
||||
}
|
||||
|
||||
sp.Server.ServeConn(wrapConn)
|
||||
|
Reference in New Issue
Block a user