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