Merge pull request #691 from artushin/master

close idle connections after stopping http checks to service
pull/700/head
Armon Dadgar 10 years ago
commit 907bbfa8c9

@ -325,6 +325,7 @@ func (c *CheckHTTP) run() {
c.check()
next = time.After(c.Interval)
case <-c.stopCh:
http.DefaultTransport.(*http.Transport).CloseIdleConnections()
return
}
}

Loading…
Cancel
Save