[server] Use the NoDefaultDate option

This commit is contained in:
Ciprian Dorin Craciun 2019-08-12 20:43:30 +03:00
parent 21d157e472
commit f1937e52bc
2 changed files with 5 additions and 3 deletions

View file

@ -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,

View file

@ -1000,6 +1000,7 @@ func main_0 () (error) {
NoDefaultServerHeader : true,
NoDefaultContentType : true,
NoDefaultDate : true,
DisableHeaderNamesNormalizing : true,
Concurrency : 4 * 1024 + 128,