DescriptionSSLServerSocketTest.DataTransfer should keep reading until it has read
the expected number of bytes.
We cannot assume a single SSL read is enough to read all the bytes.
This depends on how the SSL sender fragments the data into SSL records,
and whether the SSL receiver returns all available records at once or
one record at a time.
R=hclam@chromium.org,rvargas@chromium.org
BUG=none
TEST=net_unittests --gtest_filter=SSLServerSocketTest.DataTransfer
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97098
Patch Set 1 #
Total comments: 6
Patch Set 2 : Make the changes suggested by rvargas. #Patch Set 3 : In write then read, use only a read loop. #Patch Set 4 : Change back to patch set 2 for checkin. #Messages
Total messages: 7 (0 generated)
|