mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-02 16:21:05 +00:00
tcphub now takes tls config as construtor parameter
This commit is contained in:
1 parent
f594f5b606
commit
7d43952690
6 files changed
+24
-13
No files matched your search
@@ -65,7 +65,7 @@ func (this *Shadowsocks) Listen(port v2net.Port) error {
|
||||
}
|
||||
}
|
||||
|
||||
tcpHub, err := hub.ListenTCP(port, this.handleConnection)
|
||||
tcpHub, err := hub.ListenTCP(port, this.handleConnection, nil)
|
||||
if err != nil {
|
||||
log.Error("Shadowsocks: Failed to listen TCP on port ", port, ": ", err)
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user