[server] Use the NoDefaultDate
option
This commit is contained in:
parent
21d157e472
commit
f1937e52bc
2 changed files with 5 additions and 3 deletions
|
@ -33,6 +33,7 @@ func main () () {
|
|||
|
||||
NoDefaultServerHeader : true,
|
||||
NoDefaultContentType : true,
|
||||
NoDefaultDate : true,
|
||||
DisableHeaderNamesNormalizing : true,
|
||||
|
||||
Concurrency : 4 * 1024 + 128,
|
||||
|
@ -42,9 +43,9 @@ func main () () {
|
|||
WriteBufferSize : 16 * 1024,
|
||||
MaxRequestBodySize : 16 * 1024,
|
||||
|
||||
// ReadTimeout : 30 * time.Second,
|
||||
// WriteTimeout : 30 * time.Second,
|
||||
// IdleTimeout : 360 * time.Second,
|
||||
// ReadTimeout : 30 * time.Second,
|
||||
// WriteTimeout : 30 * time.Second,
|
||||
// IdleTimeout : 360 * time.Second,
|
||||
|
||||
TCPKeepalive : true,
|
||||
TCPKeepalivePeriod : 60 * time.Second,
|
||||
|
|
|
@ -1000,6 +1000,7 @@ func main_0 () (error) {
|
|||
|
||||
NoDefaultServerHeader : true,
|
||||
NoDefaultContentType : true,
|
||||
NoDefaultDate : true,
|
||||
DisableHeaderNamesNormalizing : true,
|
||||
|
||||
Concurrency : 4 * 1024 + 128,
|
||||
|
|
Loading…
Reference in a new issue