simpleleveldb dump_csv robustness against clients fixes #43

Merged
merged 5 commits into from Apr 11, 2012
Commits on Apr 11, 2012
  1. simpleleveldb: properly set is_currently_dumping flag

    Pierce Lopez
    Pierce Lopez committed Apr 11, 2012
    was not successfully preventing multiple concurrent dump_csv
    requests, which would both try to use global state
  2. simpleleveldb: create dump_csv connection close callback

    Pierce Lopez
    Pierce Lopez committed Apr 11, 2012
    needs to cancel the dump_csv timer so do_dump_csv() doesn't
    segfault on a no-longer-valid ctx / req
  3. simpleleveldb: ridiculous contortions to appease code style script wh…

    Pierce Lopez
    Pierce Lopez committed Apr 11, 2012
    …ile manually aligning this calculation
  4. simpleleveldb: dump_csv: skip work while send buffer is backed up

    Pierce Lopez
    Pierce Lopez committed Apr 11, 2012
    avoid putting the entire csv dump of the database in memory while
    waiting for a slow client to receive it
  5. simpleleveldb: bump version

    Pierce Lopez
    Pierce Lopez committed Apr 11, 2012