mpExperienceQUIC: cache crypto handshake information for 1-RTT conns

This commit is contained in:
Quentin De Coninck 2017-06-13 15:12:43 +02:00
parent 95a9b92701
commit 3953a99913

View File

@ -9,7 +9,7 @@ class MpExperienceQUIC(MpExperience):
WGET = "~/git/wget/src/wget" WGET = "~/git/wget/src/wget"
SERVER_LOG = "quic_server.log" SERVER_LOG = "quic_server.log"
CLIENT_LOG = "quic_client.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" SERVER_GO_FILE = "~/go/src/github.com/lucas-clemente/quic-go/example/main.go"
CERTPATH = "~/go/src/github.com/lucas-clemente/quic-go/example/" CERTPATH = "~/go/src/github.com/lucas-clemente/quic-go/example/"
PING_OUTPUT = "ping.log" PING_OUTPUT = "ping.log"
@ -129,3 +129,5 @@ class MpExperienceQUIC(MpExperience):
self.mpTopo.commandTo(self.mpConfig.client, "sleep 2") 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 # 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*") self.mpTopo.commandTo(self.mpConfig.client, "rm -r /tmp/go-build*")
# Remove cache data
self.mpTopo.commandTo(self.mpConfig.client, "rm cache_*")