mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
Make sure cleanup_challenges happens
This commit is contained in:
parent
c97573ec7c
commit
b1bb5a6843
1 changed files with 5 additions and 3 deletions
|
|
@ -134,9 +134,11 @@ class AuthHandler(object):
|
|||
self._send_responses(self.cont_c, cont_resp, chall_update))
|
||||
|
||||
# Check for updated status...
|
||||
self._poll_challenges(chall_update, best_effort)
|
||||
# This removes challenges from self.dv_c and self.cont_c
|
||||
self._cleanup_challenges(active_achalls)
|
||||
try:
|
||||
self._poll_challenges(chall_update, best_effort)
|
||||
finally:
|
||||
# This removes challenges from self.dv_c and self.cont_c
|
||||
self._cleanup_challenges(active_achalls)
|
||||
|
||||
def _send_responses(self, achalls, resps, chall_update):
|
||||
"""Send responses and make sure errors are handled.
|
||||
|
|
|
|||
Loading…
Reference in a new issue