diff options
-rw-r--r-- | rpkid/rpki/async.py | 2 | ||||
-rw-r--r-- | rpkid/rpki/https.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/rpkid/rpki/async.py b/rpkid/rpki/async.py index 00ac3d11..ba817007 100644 --- a/rpkid/rpki/async.py +++ b/rpkid/rpki/async.py @@ -42,7 +42,7 @@ class iterator(object): The termination callback receives no arguments. """ - def __init__(self, iterable, item_callback, done_callback, unwind_stack = False): + def __init__(self, iterable, item_callback, done_callback, unwind_stack = True): self.item_callback = item_callback self.done_callback = done_callback self.caller_file, self.caller_line, self.caller_function = traceback.extract_stack(limit = 2)[0][0:3] diff --git a/rpkid/rpki/https.py b/rpkid/rpki/https.py index cb5b0e38..3fab4e77 100644 --- a/rpkid/rpki/https.py +++ b/rpkid/rpki/https.py @@ -46,7 +46,7 @@ rpki_content_type = "application/x-rpki" # ================================================================ # Verbose chatter about HTTP streams -debug = False +debug = True # Extra chatter about TLS certificates debug_tls_certs = False @@ -60,8 +60,8 @@ want_persistent_server = True # connection, as this avoids the problem of client starting to reuse # connection just as server decides to close it. -default_client_timeout = rpki.sundial.timedelta(seconds = 90) -default_server_timeout = rpki.sundial.timedelta(seconds = 180) +default_client_timeout = rpki.sundial.timedelta(minutes = 15) +default_server_timeout = rpki.sundial.timedelta(minutes = 20) default_http_version = (1, 0) |