diff options
author | Rob Austein <sra@hactrn.net> | 2009-05-04 21:30:46 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-05-04 21:30:46 +0000 |
commit | 4dd311b33e7a9d9933f9251b8f7bd9ca9da2234a (patch) | |
tree | 031fcb087abfa7fdc1f68752ad7f36f020c2503d /rpkid/testbed.py | |
parent | 8b02cc3b7a66caa972f2ff571fc52daec2088138 (diff) |
Rip out old HTTPS code, replace with new asynchronous HTTP code (sic:
replacement does not yet support TLS!), beat on result with stick.
At this point the new code passes "make test" with persistent
connections disabled (but not with them enabled). Have not yet tried
"make all-tests". Currently logs an insane level of detail about HTTP
state, to aid in debugging; will need to be squelched later.
svn path=/rpkid/rpki/https.py; revision=2398
Diffstat (limited to 'rpkid/testbed.py')
-rw-r--r-- | rpkid/testbed.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rpkid/testbed.py b/rpkid/testbed.py index f47f71c3..c2fa2df5 100644 --- a/rpkid/testbed.py +++ b/rpkid/testbed.py @@ -229,7 +229,9 @@ class main(object): rpki.async.iterator(self.db.engines, create_rpki_objects, self.created_rpki_objects) - # At this point we have gone into (pseudo) event-driven code. + rpki.async.event_loop() + + # At this point we have gone into event-driven code. # See comments above about cleanup of this try/finally code rpki.log.info("All done") @@ -667,6 +669,7 @@ class allocation(object): rpki.log.info("Call to rpkid %s returned" % self.name) def call_rpkid_cb(self, val): + rpki.log.info("Callback from to rpkid %s" % self.name) if isinstance(val, Exception): raise val msg, xml = rpki.left_right.cms_msg.unwrap(val, (self.rpkid_ta, self.rpkid_cert), |