mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-25 19:02:22 +01:00
fix negative waitgroup, fix cert expiry date, better auto renewal strategy
This commit is contained in:
@@ -79,11 +79,13 @@ func (s *Server) Stop() {
|
||||
if s.httpStarted {
|
||||
errHTTP := s.http.Shutdown(ctx)
|
||||
s.handleErr("http", errHTTP)
|
||||
s.httpStarted = false
|
||||
}
|
||||
|
||||
if s.httpsStarted {
|
||||
errHTTPS := s.https.Shutdown(ctx)
|
||||
s.handleErr("https", errHTTPS)
|
||||
s.httpsStarted = false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user