DescriptionFix DoReadWrite loop in SocketStream.
If Read in DoReadWrite succeeded synchronously, it failed to call next Read.
Changed to call Read repeatedly after a Read finished both in synchronous return and asynchronous return.
Also fixes Write case as well.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30034
Patch Set 1 #
Total comments: 4
Patch Set 2 : return OK if Read/Write succeeded #Messages
Total messages: 6 (0 generated)
|