提交 0d19ec26 编写于 作者: U Ulric Qin

set http.Server.ReadTimeout to 30*time.Second

上级 c63987d7
......@@ -18,9 +18,9 @@ import (
)
var srv = &http.Server{
ReadTimeout: 10 * time.Second,
WriteTimeout: 10 * time.Second,
MaxHeaderBytes: 1 << 20,
ReadTimeout: 30 * time.Second,
WriteTimeout: 30 * time.Second,
MaxHeaderBytes: 1 << 30,
}
var skipPaths = []string{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册