fix(measurex): quic follow-up only with https scheme (#538)
Closes https://github.com/ooni/probe/issues/1799
This commit is contained in:
parent
a6318d6de9
commit
1ffb2db0ca
|
@ -778,7 +778,12 @@ func (mx *Measurer) MeasureURL(
|
|||
for epnt := range mx.HTTPEndpointGetParallel(ctx, cookies, epnts...) {
|
||||
m.Endpoints = append(m.Endpoints, epnt)
|
||||
}
|
||||
mx.maybeQUICFollowUp(ctx, m, cookies, epnts...)
|
||||
switch parsed.Scheme {
|
||||
case "https":
|
||||
mx.maybeQUICFollowUp(ctx, m, cookies, epnts...)
|
||||
default:
|
||||
// nothing to do
|
||||
}
|
||||
m.EpntsRuntime = time.Since(epntRuntime)
|
||||
m.fillRedirects()
|
||||
return m, nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user