Skip to content

Commit 6af5499

Browse files
committed
transporthandler now measures the time starting BEFORE it send data (not shortly after)
1 parent 410f482 commit 6af5499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/src/main/java/de/rub/nds/tlsattacker/transport/tcp/timing/TimingClientTcpTransportHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public TimingClientTcpTransportHandler(long timeout, String hostname, int port)
3030

3131
@Override
3232
public void sendData(byte[] data) throws IOException {
33-
super.sendData(data);
3433
long startTime = System.nanoTime();
34+
super.sendData(data);
3535
// read will block until data is available
3636
earlyReadData = inStream.read();
3737
long endTime = System.nanoTime();

0 commit comments

Comments
 (0)