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...) { | 	for epnt := range mx.HTTPEndpointGetParallel(ctx, cookies, epnts...) { | ||||||
| 		m.Endpoints = append(m.Endpoints, epnt) | 		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.EpntsRuntime = time.Since(epntRuntime) | ||||||
| 	m.fillRedirects() | 	m.fillRedirects() | ||||||
| 	return m, nil | 	return m, nil | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user