diff options
author | Rob Austein <sra@hactrn.net> | 2009-04-26 23:25:26 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-04-26 23:25:26 +0000 |
commit | 5f098f3139ed6b1d584393e8ec803cb154d75f73 (patch) | |
tree | 9fd64442233b35155cfc5d7df10f3658f30b6095 /rpkid/rpki/https.py | |
parent | b7f3aa938ce6dffde5322110094123e48a92c288 (diff) |
At this point "make all-tests" runs to completion with callbacks.
Haven't done full coverage check yet, but in theory any remaining
synchronous calls to the HTTPS client code are oversights, so they
should be treated as errors from now on.
svn path=/rpkid/rpki/https.py; revision=2359
Diffstat (limited to 'rpkid/rpki/https.py')
-rw-r--r-- | rpkid/rpki/https.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki/https.py b/rpkid/rpki/https.py index 1923a18f..dd664170 100644 --- a/rpkid/rpki/https.py +++ b/rpkid/rpki/https.py @@ -34,7 +34,7 @@ disable_tls_certificate_validation_exceptions = False debug_tls_certs = False # Debugging hack while converting to event-driven I/O model -trace_synchronous_calls = False +trace_synchronous_calls = True rpki_content_type = "application/x-rpki" @@ -163,7 +163,7 @@ def client(msg, client_key, client_cert, server_ta, url, timeout = 300, callback # This is an easy way to find synchronous calls that need conversion if trace_synchronous_calls and callback is None: - raise RuntimeError, "Syncronous call to rpki.http.client()" + raise RuntimeError, "Synchronous call to rpki.http.client()" u = urlparse.urlparse(url) |