feat: introduce the simplequicping experiment (#717)

See https://github.com/ooni/probe/issues/2091 (issue) and https://github.com/ooni/spec/pull/237 (spec).
This commit is contained in:
Simone Basso
2022-05-09 11:22:44 +02:00
committed by GitHub
parent 2917dd6c76
commit a7a6d7df7f
4 changed files with 387 additions and 2 deletions
@@ -67,7 +67,7 @@ type TestKeys struct {
type SinglePing struct {
NetworkEvents []*measurex.ArchivalNetworkEvent `json:"network_events"`
TCPConnect []*measurex.ArchivalTCPConnect `json:"tcp_connect"`
TLSHandshake []*measurex.ArchivalQUICTLSHandshakeEvent `json:"tls_handshakes"`
TLSHandshakes []*measurex.ArchivalQUICTLSHandshakeEvent `json:"tls_handshakes"`
}
// Measurer performs the measurement.
@@ -132,7 +132,7 @@ func (m *Measurer) Run(
tk.Pings = append(tk.Pings, &SinglePing{
NetworkEvents: measurex.NewArchivalNetworkEventList(meas.ReadWrite),
TCPConnect: measurex.NewArchivalTCPConnectList(meas.Connect),
TLSHandshake: measurex.NewArchivalQUICTLSHandshakeEventList(meas.TLSHandshake),
TLSHandshakes: measurex.NewArchivalQUICTLSHandshakeEventList(meas.TLSHandshake),
})
}
return nil // return nil so we always submit the measurement