1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-30 07:46:41 -04:00

Support Stop listener

This commit is contained in:
Shelikhoo 2016-08-15 18:47:44 +08:00
parent 062d05fdcf
commit 273c8f6c57
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21

View File

@ -169,7 +169,7 @@ func (this *WSListener) Close() error {
defer this.Unlock()
this.acccepting = false
log.Warning("WSListener: Yet to support close listening HTTP service")
this.listener.Stop()
close(this.awaitingConns)
for connErr := range this.awaitingConns {