Yggdrasil demo tweaks

This commit is contained in:
Neil Alexander 2020-06-10 17:18:37 +01:00
parent 399b6ae334
commit 63a24e81c4
2 changed files with 18 additions and 9 deletions

View file

@ -96,9 +96,9 @@ func main() {
httpServer := &http.Server{
Addr: ":0",
TLSNextProto: map[string]func(*http.Server, *tls.Conn, http.Handler){},
ReadTimeout: 30 * time.Second,
WriteTimeout: 30 * time.Second,
IdleTimeout: 60 * time.Second,
ReadTimeout: 5 * time.Second,
WriteTimeout: 5 * time.Second,
IdleTimeout: 15 * time.Second,
BaseContext: func(_ net.Listener) context.Context {
return context.Background()
},