1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-31 22:45:39 -05:00

tcphub now takes tls config as construtor parameter

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

View File

@@ -77,7 +77,7 @@ func (this *Server) Listen(port v2net.Port) error {
}
this.listeningPort = port
listener, err := hub.ListenTCP(port, this.handleConnection)
listener, err := hub.ListenTCP(port, this.handleConnection, nil)
if err != nil {
log.Error("Socks: failed to listen on port ", port, ": ", err)
return err