summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-04-02 20:56:59 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-04-02 20:56:59 (GMT)
commit5bc203b687760e584fa74deba133eb6fea8cb408 (patch)
treed50f464b0d71018720b38a75e2bfeffc90181eee /src
parentde11663ba8ad4253445b0f5829c19165b010bab0 (diff)
also increase write timeout since this is actually a deadline since the last read
Diffstat (limited to 'src')
-rw-r--r--src/rhimportd/ctrlWeb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhimportd/ctrlWeb.go b/src/rhimportd/ctrlWeb.go
index 9965662..ae839a7 100644
--- a/src/rhimportd/ctrlWeb.go
+++ b/src/rhimportd/ctrlWeb.go
@@ -54,6 +54,6 @@ func StartControlWeb(addr, staticDir string, uploadMaxAge time.Duration, conf *r
go webUploadCleaner(conf, uploadMaxAge)
rhl.Println("web-ctrl: listening on", addr)
- server := &http.Server{Addr: addr, ReadTimeout: 2 * time.Hour, WriteTimeout: 1 * time.Minute}
+ server := &http.Server{Addr: addr, ReadTimeout: 2 * time.Hour, WriteTimeout: 2 * time.Hour}
server.ListenAndServe()
}