From 220b783caa667817a77c0b9dd5ed8375b17f8f02 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Wed, 3 Jun 2020 09:12:06 +0800 Subject: [PATCH] Align Timeout Value --- features/policy/policy.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features/policy/policy.go b/features/policy/policy.go index 5d581fe2e..984b32f42 100644 --- a/features/policy/policy.go +++ b/features/policy/policy.go @@ -113,7 +113,9 @@ func defaultBufferPolicy() Buffer { func SessionDefault() Session { return Session{ Timeouts: Timeout{ - Handshake: time.Second * 4, + //Align Handshake timeout with nginx client_header_timeout + //So that this value will not indicate server identity + Handshake: time.Second * 60, ConnectionIdle: time.Second * 300, UplinkOnly: time.Second * 1, DownlinkOnly: time.Second * 1,