Fix tcp keep alive

This commit is contained in:
世界 2022-07-31 09:46:05 +08:00
parent 0eed0ca11a
commit d06fd03dd8
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
4 changed files with 3 additions and 15 deletions

View file

@ -4,7 +4,6 @@ import "time"
const (
TCPTimeout = 5 * time.Second
TCPKeepAlivePeriod = 30 * time.Second
ReadPayloadTimeout = 300 * time.Millisecond
DNSTimeout = 10 * time.Second
QUICTimeout = 30 * time.Second