tcphub now takes tls config as construtor parameter

This commit is contained in:
v2ray committed 2016-05-03 00:16:07 +02:00
1 parent f594f5b606
commit 7d43952690
6 files changed
+24 -13

No files matched your search

+1 -1
View File
@@ -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