On Fri, 22 Jan 2021 16:14:26 GMT, Mark Sheppard <mshep...@openjdk.org> wrote:

> iteration N write n bytes, reads m where m < n (The underlying TCP protocol 
> machine has sent m bytes and not the full n)
> iteration N +1 write n bytes, read n + (n-m) i.e. the current write + the 
> residue from the write in iteration N
> 
> and then an assert nread <= nsent will fail ?

Good point. You'd have to aggregate the results across multiple read writes and 
that would clutter the test.
OK - I withdraw my suggestion. What you have now is good enough Patrick.
Approved.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2162

Reply via email to