mirror of https://github.com/cbeuw/Cloak
Fix: buffer should be set even in unordered mode because in the end it's tcp
This commit is contained in:
parent
2531e8cea5
commit
0f27e9e1e5
|
|
@ -155,7 +155,6 @@ func main() {
|
|||
var seshMaker func() *mux.Session
|
||||
|
||||
control := func(network string, address string, rawConn syscall.RawConn) error {
|
||||
if !authInfo.Unordered {
|
||||
sendBufferSize := remoteConfig.TcpSendBuffer
|
||||
receiveBufferSize := remoteConfig.TcpReceiveBuffer
|
||||
|
||||
|
|
@ -179,7 +178,6 @@ func main() {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
return protector(network, address, rawConn)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue