1. 27 Jun, 2016 5 commits
  2. 26 Jun, 2016 2 commits
    • Jim Fulton's avatar
      Awful hack to run the server multi-threaded · daca97cb
      Jim Fulton authored
      Because running it single-threaded was unstable, at least in the tests.
      
      See http://bugs.python.org/issue27392
      daca97cb
    • Jim Fulton's avatar
      Refactord the server to be single-threaded to make SSL work on Linux · da2e2281
      Jim Fulton authored
      SSL didn't work on Linux because of an incompatibility between
      non-blocking sockerts and SSL (which wasn't an issue on Mac OS X for
      some reason).
      
      I decided to try switching the server to use a single thread.  This
      led to a performance improvement for zodbshootout and a lower-level
      networking test.  I refactored the server listening logic and kept (at
      least for now) both the multi-threaded and the single-threaded
      version. (The multi-threaded logic can be used by changing a single
      import. Tests pass with both.).
      
      I'm a bit worried about the asyncio server. See
      
        http://bugs.python.org/issue27386
      
      Tests appear to be less stable using asyncio.server on my Mac. :(
      da2e2281
  3. 24 Jun, 2016 4 commits
  4. 23 Jun, 2016 1 commit
  5. 22 Jun, 2016 5 commits
  6. 21 Jun, 2016 1 commit
  7. 20 Jun, 2016 6 commits
  8. 19 Jun, 2016 2 commits
  9. 18 Jun, 2016 1 commit
  10. 17 Jun, 2016 3 commits
  11. 16 Jun, 2016 2 commits
  12. 15 Jun, 2016 5 commits
  13. 09 Jun, 2016 3 commits
    • Jim Fulton's avatar
      require the storage lock in lastTransaction. · 20f81caa
      Jim Fulton authored
      This is required (or maybe strongly implied) by the IStorage interface.
      
      Also, rearrange the order of operations in _process_invalidations.
      
      Each of these changes avoid a potential race when a connection starts
      a transaction while invalidateTransaction is being called. Basically,
      we don't want a connection to get a lastTransaction corresponding to
      invalidations it hasn't processed.
      
      This neither fixes nor provokes any test failures. :) The need for
      this change was discovered via code inspection. It's hard to see how
      to test the race without getting being insanely whitebox.
      20f81caa
    • Jim Fulton's avatar
      added a connection close · d957ff3e
      Jim Fulton authored
      To avoid an error on tearDown.
      d957ff3e
    • Jim Fulton's avatar