Changes between and of Initial VersionVersion 1Ticket #6782


Ignore:
Timestamp:
10/09/2013 05:02:12 PM (7 years ago)
Author:
Jean-Paul Calderone
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6782 – Description

    initial v1  
    1111Here's a partial fix.  It appears to work.  I don't know how to write test cases for it without resorting to some kind of end-to-end test.
    1212
    13 _flushReceiveBIO is still wrong, but it's no worse than before.  (It should handle WantWriteError.)  Simiarly, _write is busted (and this may be a real-world problem if programs write more than 2^15 bytes in one go after the handshake is done).
     13_flushReceiveBIO is still wrong, but it's no worse than before.  (It should handle WantWriteError.)  Simiarly, _write is busted (and this may be a real-world problem if programs write more than 2^15^ bytes in one go after the handshake is done).
    1414
    1515If something like this is applied, it's probably worth calling pauseProducing at startup and then resuming when the handshake is done.