aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/https.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-07-17 00:46:32 +0000
committerRob Austein <sra@hactrn.net>2009-07-17 00:46:32 +0000
commitf4d513432f0c4b6f6c3ccf2eb474fb1954e3d79f (patch)
tree25820914b0601f6000df0c81cdb17ace538e38c2 /rpkid/rpki/https.py
parent8be91ec1161d3865eee87103dec1fd4efa710f9c (diff)
Cleanup
svn path=/rpkid/rpki/https.py; revision=2630
Diffstat (limited to 'rpkid/rpki/https.py')
-rw-r--r--rpkid/rpki/https.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/rpkid/rpki/https.py b/rpkid/rpki/https.py
index 1a433fd5..c2f47cd9 100644
--- a/rpkid/rpki/https.py
+++ b/rpkid/rpki/https.py
@@ -46,10 +46,10 @@ rpki_content_type = "application/x-rpki"
# ================================================================
# Chatter about TLS certificates
-debug_tls_certs = True
+debug_tls_certs = False
# Verbose chatter about HTTP streams
-debug = True
+debug = False
# Whether we want persistent HTTP streams, when peer also supports them
want_persistent_client = True
@@ -700,7 +700,8 @@ def client(msg, client_key, client_cert, server_ta, url, callback, errback):
u.fragment != ""):
raise rpki.exceptions.BadClientURL, "Unusable URL %s" % url
- rpki.log.debug("Contacting %s" % url)
+ if debug:
+ rpki.log.debug("Contacting %s" % url)
request = http_request(
cmd = "POST",