mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-08 16:38:12 +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
@@ -103,7 +103,7 @@ func (this *VMessInboundHandler) Listen(port v2net.Port) error {
|
||||
}
|
||||
this.listeningPort = port
|
||||
|
||||
tcpListener, err := hub.ListenTCP(port, this.HandleConnection)
|
||||
tcpListener, err := hub.ListenTCP(port, this.HandleConnection, nil)
|
||||
if err != nil {
|
||||
log.Error("Unable to listen tcp port ", port, ": ", err)
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user