diff --git a/net/ghttp/ghttp_server_config.go b/net/ghttp/ghttp_server_config.go index 0fdb9962c..9126c0143 100644 --- a/net/ghttp/ghttp_server_config.go +++ b/net/ghttp/ghttp_server_config.go @@ -240,7 +240,7 @@ func Config() ServerConfig { HTTPSAddr: "", Handler: nil, ReadTimeout: 60 * time.Second, - WriteTimeout: 60 * time.Second, + WriteTimeout: 0, // No timeout. IdleTimeout: 60 * time.Second, MaxHeaderBytes: 1024, KeepAlive: true,