From 3953a99913775c8ab548025adf35a4313e44a74a Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Tue, 13 Jun 2017 15:12:43 +0200 Subject: [PATCH] mpExperienceQUIC: cache crypto handshake information for 1-RTT conns --- src/mpExperienceQUIC.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mpExperienceQUIC.py b/src/mpExperienceQUIC.py index f90804e..008c13b 100644 --- a/src/mpExperienceQUIC.py +++ b/src/mpExperienceQUIC.py @@ -9,7 +9,7 @@ class MpExperienceQUIC(MpExperience): WGET = "~/git/wget/src/wget" SERVER_LOG = "quic_server.log" CLIENT_LOG = "quic_client.log" - CLIENT_GO_FILE = "~/go/src/github.com/lucas-clemente/quic-go/example/client_benchmarker/main.go" + CLIENT_GO_FILE = "~/go/src/github.com/lucas-clemente/quic-go/example/client_benchmarker_cached/main.go" SERVER_GO_FILE = "~/go/src/github.com/lucas-clemente/quic-go/example/main.go" CERTPATH = "~/go/src/github.com/lucas-clemente/quic-go/example/" PING_OUTPUT = "ping.log" @@ -129,3 +129,5 @@ class MpExperienceQUIC(MpExperience): self.mpTopo.commandTo(self.mpConfig.client, "sleep 2") # Need to delete the go-build directory in tmp; could lead to no more space left error self.mpTopo.commandTo(self.mpConfig.client, "rm -r /tmp/go-build*") + # Remove cache data + self.mpTopo.commandTo(self.mpConfig.client, "rm cache_*")