mirror of
https://github.com/jlengrand/vert.x.git
synced 2026-03-10 08:51:19 +00:00
In NetTest#testIdleTimeoutSendChunkedFile remaining bytes should only be set in client end handler
This commit is contained in:
@@ -3415,7 +3415,6 @@ public class NetTest extends VertxTestBase {
|
||||
};
|
||||
Consumer<NetSocket> receiver = so -> {
|
||||
now.set(System.currentTimeMillis());
|
||||
remaining.set(expected);
|
||||
int[] len = { 0 };
|
||||
so.handler(buff -> {
|
||||
len[0] += buff.length();
|
||||
|
||||
Reference in New Issue
Block a user