mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 11:10:14 +08:00
更改 http server log
This commit is contained in:
@@ -56,12 +56,12 @@ func startTls() {
|
||||
},
|
||||
}
|
||||
srv := &http.Server{
|
||||
Addr: addr,
|
||||
Handler: initRoute(),
|
||||
TLSConfig: tlsConfig,
|
||||
// ErrorLog: base.GetBaseLog(),
|
||||
ReadTimeout: 60 * time.Second,
|
||||
WriteTimeout: 60 * time.Second,
|
||||
Addr: addr,
|
||||
Handler: initRoute(),
|
||||
TLSConfig: tlsConfig,
|
||||
ErrorLog: base.GetServerLog(),
|
||||
ReadTimeout: 100 * time.Second,
|
||||
WriteTimeout: 100 * time.Second,
|
||||
}
|
||||
|
||||
ln, err = net.Listen("tcp", addr)
|
||||
|
Reference in New Issue
Block a user