mirror of
https://github.com/containers/podman.git
synced 2026-10-22 01:45:09 -04:00
Merge pull request #11072 from matejvasek/header-timeout
Remove ReadHeaderTimeout
This commit is contained in:
1 file changed
+4
-5
@@ -90,11 +90,10 @@ func newServer(runtime *libpod.Runtime, duration time.Duration, listener *net.Li
|
||||
|
||||
server := APIServer{
|
||||
Server: http.Server{
|
||||
Handler: router,
|
||||
ReadHeaderTimeout: 20 * time.Second,
|
||||
IdleTimeout: duration * 2,
|
||||
ConnState: idle.ConnState,
|
||||
ErrorLog: log.New(logrus.StandardLogger().Out, "", 0),
|
||||
Handler: router,
|
||||
IdleTimeout: duration * 2,
|
||||
ConnState: idle.ConnState,
|
||||
ErrorLog: log.New(logrus.StandardLogger().Out, "", 0),
|
||||
},
|
||||
Decoder: handlers.NewAPIDecoder(),
|
||||
idleTracker: idle,
|
||||
|
||||
Reference in new issue
Block a user