aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/async.py
AgeCommit message (Collapse)Author
2014-04-05Source tree reorg, phase 1. Almost everything moved, no file contents changed.Rob Austein
svn path=/branches/tk685/; revision=5757
2014-01-09Update more copyrights, clean up module doc blocks.Rob Austein
svn path=/trunk/; revision=5624
2012-10-26[4786] broke handling of timers with no errback set.Rob Austein
svn path=/branches/tk274/; revision=4793
2012-10-18pylintRob Austein
svn path=/branches/tk274/; revision=4786
2012-08-29Simplify iterator core.Rob Austein
svn path=/branches/tk274/; revision=4672
2012-08-19Tweak timer.runq() to be a bit more even-handed in how we prioritizeRob Austein
I/O versus timers. svn path=/branches/tk274/; revision=4644
2012-08-19CleanupRob Austein
svn path=/branches/tk274/; revision=4643
2012-08-19Simplify core I/O loop, back to what I originally intended beforeRob Austein
accidently digging myself into a hole with a circular reference that confused Python's garbage collector. See #275. This version is much too noisy, and could use some cleanup, but basic code seems to work, and I want to test it on multiple machines in parallel, so checking it in now. svn path=/branches/tk274/; revision=4642
2012-08-09Switch rpki.sql.session.cache to use weak references, so that Python'sRob Austein
garbage collector can free up cache entries we're not using for us. Rework update_roas() to be a bit more frugal with memory. See #278. svn path=/branches/tk274/; revision=4626
2012-07-31Somehow we got an exception whose string expansion was the nullRob Austein
string. Huh? Log exception class name in cae this ever happens again. svn path=/trunk/; revision=4616
2012-07-31First cut at allowing I/O loop to run during processing of massiveRob Austein
batches of ROA requests. Not yet well tested, preliminary results look good and I have people waiting for this patch, so checking in now while continuing testing. See #275. svn path=/trunk/; revision=4615
2011-10-05Add global traceback control; this closes #95. Clean up someRob Austein
"except:" clauses that should have been "except Exception:". svn path=/rpkid/rpki-sql-setup.py; revision=4014
2011-09-10Check for exception select() throws on bad file descriptor, to avoidRob Austein
going into a spin loop. (#69) Preserve old signal handlers even if we do have to restart the I/O loop. Minor clean up. svn path=/rpkid/rpki/async.py; revision=3976
2011-04-27First whack at some of the silliest logging codeRob Austein
svn path=/rpkid/rpki/async.py; revision=3793
2010-11-14Implement "reissue" left-right operation. Reformat some doc strings.Rob Austein
svn path=/rpkid/irbe_cli.py; revision=3551
2010-10-07Merge rpkid.without_tls/ branch to rpkid/ trunk.Rob Austein
svn path=/rpkid/Makefile; revision=3465
2010-05-31Better fix for timer.cancel().Rob Austein
svn path=/rpkid/rpki/async.py; revision=3268
2010-05-31Preliminary fix to timer.cancel(). Right fix may be to changeRob Austein
__cmp__() method and use an explicit sort key, but this works. svn path=/rpkid/rpki/async.py; revision=3267
2010-04-12LintRob Austein
svn path=/myrpki/myrpki.py; revision=3191
2010-03-16Update copyright noticesRob Austein
svn path=/rpkid/irbe_cli.py; revision=3107
2010-02-24CheckpointRob Austein
svn path=/rpkid/rpki/async.py; revision=3006
2010-02-24Checkpoint. <list_received_resources/> still not quite working yet, but ↵Rob Austein
getting closer. svn path=/rpkid/irbe_cli.py; revision=3005
2010-02-23Try not to lose original exception context when blowing out of sync_wrapper.Rob Austein
svn path=/rpkid/rpki/async.py; revision=3004
2010-02-17Debugging cleanupRob Austein
svn path=/rpkid/rpki/async.py; revision=2976
2010-01-23Doh, debug message already obsolete when checked in.Rob Austein
svn path=/rpkid/rpki/async.py; revision=2961
2010-01-23Add cutoff threshold and tuple tracking to gc_summary.Rob Austein
svn path=/rpkid/rpki/async.py; revision=2960
2010-01-04Still seeing unexplained memory bloat, try a different approach toRob Austein
tracking this down. svn path=/rpkid/rpki/async.py; revision=2926
2009-12-22Handle exception that was causing unintended exit from event_loop(),Rob Austein
add safety net to keep servers from crashing if something like this happens again. svn path=/rpkid/rpki/async.py; revision=2902
2009-12-18Doxygen markup errorRob Austein
svn path=/rpkid/rpki/async.py; revision=2892
2009-12-02sync_wrapper wasn't working quite right with defer().Rob Austein
svn path=/rpkid/rpki/async.py; revision=2890
2009-12-02Clean up deferred action queue logic. Turns out we need to run theRob Austein
deferred action queue twice, once after serving I/O events, once after running the timer queue. svn path=/rpkid/rpki/async.py; revision=2889
2009-12-02Implement deferred action queue separate from timers.Rob Austein
svn path=/rpkid/rpki/async.py; revision=2888
2009-12-01Clean up timer debugging code. Clear pointers in a few places thatRob Austein
appear to have been causing circular references. svn path=/rpkid/rpki/async.py; revision=2887
2009-11-30Timer debugging codeRob Austein
svn path=/rpkid/rpki/async.py; revision=2886
2009-09-11CleanupRob Austein
svn path=/rpkid/rpki/async.py; revision=2748
2009-07-29Massively increase https timeout interval. Enable slow-and-safeRob Austein
version of async iteration, can look at using fast-and-risky version later on a case-by-case basis if needed. svn path=/rpkid/rpki/async.py; revision=2682
2009-07-29Rework stack_unwind codeRob Austein
svn path=/rpkid/rpki/async.py; revision=2679
2009-07-29Extend rpki.async.iterator to support unwinding the stack to avoidRob Austein
recursion limit when processing really long iterations. svn path=/rpkid/rpki/async.py; revision=2678
2009-07-18Document a bunch of assertions. Fiddle with HTTPS timeouts.Rob Austein
svn path=/rpkid/rpki/async.py; revision=2643
2009-07-04Clean up and consolidate traceback. Add methods to hide (some of the)Rob Austein
mucking about with msg.type variables. Include query PDU tags in reply <report_error/> PDUs. svn path=/rpkid/irbe-setup.py; revision=2571
2009-06-27sync_wrapper()Rob Austein
svn path=/rpkid/rpki/async.py; revision=2549
2009-06-01New TLS code mostly working. Only lightly tested so far, but "makeRob Austein
test" ran to completion. svn path=/pow/POW-0.7/POW.c; revision=2481
2009-05-12Cleanup some of the litter left behind during conversion to callbacks.Rob Austein
Add rpki.async.iterator.__repr__() so we can figure out where the silly things were created when debugging. Fix sloppy child process shutdown in testbed.main(); I don't know why this only started complaining now, but it did, so I fixed it. svn path=/rpkid/pubd.py; revision=2426
2009-05-11Cosmetic doc changes.Rob Austein
svn path=/rpkid/irbe-setup.py; revision=2424
2009-05-11Pass ExitNow exceptions through, as signal handlers can raise them at any time.Rob Austein
svn path=/rpkid/irdbd.py; revision=2423
2009-05-06Clean up signal handlingRob Austein
svn path=/rpkid/rpki/async.py; revision=2407
2009-05-06CheckpointRob Austein
svn path=/rpkid/rpki/async.py; revision=2404
2009-05-04Don't hang waiting for timeout of persistent connections when we know we're ↵Rob Austein
all done. svn path=/rpkid/rpki/async.py; revision=2400
2009-05-04Move signal wrapper to rpki.async.event_loop().Rob Austein
svn path=/rpkid/rpki/async.py; revision=2397
2009-04-30Update timer for alternate handler mechanismRob Austein
svn path=/rpkid/rpki/async.py; revision=2385