Skip to content

Commit

Permalink
Align Timeout Value
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed Jun 3, 2020
1 parent 8f45736 commit 220b783
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion features/policy/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 220b783

Please sign in to comment.