1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-30 05:55:20 -05:00

extend mux session timeout

This commit is contained in:
Darien Raymond
2017-04-19 21:33:11 +02:00
parent 6d7aaa6535
commit a7abac2eaf

View File

@@ -123,7 +123,7 @@ func (m *Client) monitor() {
m.inboundRay.InboundInput().Close()
m.inboundRay.InboundOutput().CloseError()
return
case <-time.After(time.Second * 6):
case <-time.After(time.Second * 16):
size := m.sessionManager.Size()
if size == 0 && m.sessionManager.CloseIfNoSession() {
m.cancel()