Disable graceful signal handling

This commit is contained in:
Justin Li
2015-04-28 20:27:39 -04:00
parent ff5339ceb3
commit ae62188711
2 changed files with 5 additions and 3 deletions

View File

@@ -132,6 +132,8 @@ func (s *Server) Serve(addr string) {
Timeout: s.config.HTTPRequestTimeout.Duration,
ConnState: s.connState,
ListenLimit: s.config.HTTPListenLimit,
NoSignalHandling: true,
Server: &http.Server{
Addr: addr,
Handler: newRouter(s),