mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-11 23:54:32 +00:00
extend mux session timeout
This commit is contained in:
parent
6d7aaa6535
commit
a7abac2eaf
@ -123,7 +123,7 @@ func (m *Client) monitor() {
|
|||||||
m.inboundRay.InboundInput().Close()
|
m.inboundRay.InboundInput().Close()
|
||||||
m.inboundRay.InboundOutput().CloseError()
|
m.inboundRay.InboundOutput().CloseError()
|
||||||
return
|
return
|
||||||
case <-time.After(time.Second * 6):
|
case <-time.After(time.Second * 16):
|
||||||
size := m.sessionManager.Size()
|
size := m.sessionManager.Size()
|
||||||
if size == 0 && m.sessionManager.CloseIfNoSession() {
|
if size == 0 && m.sessionManager.CloseIfNoSession() {
|
||||||
m.cancel()
|
m.cancel()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user