From 11a31cfdacd6042a8661cc963bbedbb878fbf8bf Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Sun, 10 Sep 2017 23:26:14 +0200 Subject: [PATCH] fix version dependent Public Header parsing in the proxy --- integrationtests/tools/proxy/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrationtests/tools/proxy/proxy.go b/integrationtests/tools/proxy/proxy.go index 78af9c101..b68ac604a 100644 --- a/integrationtests/tools/proxy/proxy.go +++ b/integrationtests/tools/proxy/proxy.go @@ -165,7 +165,7 @@ func (p *QuicProxy) runProxy() error { atomic.AddUint64(&conn.incomingPacketCounter, 1) r := bytes.NewReader(raw) - hdr, err := wire.ParsePublicHeader(r, protocol.PerspectiveClient, protocol.VersionWhatever) + hdr, err := wire.ParsePublicHeader(r, protocol.PerspectiveClient, p.version) if err != nil { return err }