[sources] Minor updates

This commit is contained in:
Ciprian Dorin Craciun 2019-05-16 22:15:40 +03:00
parent 9702cfbcb7
commit e8cc21b797
2 changed files with 6 additions and 6 deletions

View file

@ -688,8 +688,8 @@ func main_0 () (error) {
_excludeIndex_0 := _flags.Bool ("exclude-index", false, "") _excludeIndex_0 := _flags.Bool ("exclude-index", false, "")
_excludeStripped_0 := _flags.Bool ("exclude-strip", false, "") _excludeStripped_0 := _flags.Bool ("exclude-strip", false, "")
_excludeEtag_0 := _flags.Bool ("exclude-etag", false, "") _excludeEtag_0 := _flags.Bool ("exclude-etag", false, "")
_excludeFileListing_0 := _flags.Bool ("include-file-listing", false, "") _excludeFileListing_0 := _flags.Bool ("exclude-file-listing", false, "")
_includeFolderListing_0 := _flags.Bool ("exclude-folder-listing", false, "") _includeFolderListing_0 := _flags.Bool ("include-folder-listing", false, "")
_debug_0 := _flags.Bool ("debug", false, "") _debug_0 := _flags.Bool ("debug", false, "")
FlagsParse (_flags, 0, 0) FlagsParse (_flags, 0, 0)

View file

@ -904,20 +904,20 @@ func main_0 () (error) {
NoDefaultContentType : true, NoDefaultContentType : true,
DisableHeaderNamesNormalizing : true, DisableHeaderNamesNormalizing : true,
Concurrency : 4 * 1024, Concurrency : 4 * 1024 + 128,
ReadBufferSize : 2 * 1024, ReadBufferSize : 2 * 1024,
WriteBufferSize : 2 * 1024, WriteBufferSize : 2 * 1024,
ReadTimeout : 6 * time.Second, ReadTimeout : 30 * time.Second,
WriteTimeout : 6 * time.Second, WriteTimeout : 30 * time.Second,
MaxKeepaliveDuration : 360 * time.Second, MaxKeepaliveDuration : 360 * time.Second,
MaxRequestsPerConn : 256 * 1024, MaxRequestsPerConn : 256 * 1024,
MaxRequestBodySize : 2 * 1024, MaxRequestBodySize : 2 * 1024,
GetOnly : true, GetOnly : true,
TCPKeepalive : true, TCPKeepalive : true,
TCPKeepalivePeriod : 6 * time.Second, TCPKeepalivePeriod : 60 * time.Second,
ReduceMemoryUsage : _httpServerReduceMemory, ReduceMemoryUsage : _httpServerReduceMemory,