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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user