mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 01:08:31 +02:00
http: increase default response header timeout to 60s, add option to customize it, schema update
This commit is contained in:
@@ -20,7 +20,7 @@ var (
|
||||
TLSHandshakeTimeout: 10 * time.Second,
|
||||
ExpectContinueTimeout: 1 * time.Second,
|
||||
DisableCompression: true, // Prevent double compression
|
||||
ResponseHeaderTimeout: 30 * time.Second,
|
||||
ResponseHeaderTimeout: 60 * time.Second,
|
||||
WriteBufferSize: 16 * 1024, // 16KB
|
||||
ReadBufferSize: 16 * 1024, // 16KB
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user