ooni-probe-cli/internal/measurex
Simone Basso 86018ecb82
fix(measurex): make sure we don't redirect loop forever (#532)
This is the most immediate fix to the issue described by
https://github.com/ooni/probe/issues/1792.

So, the logic was actually miss the increment, which
would have been noticed with proper unit testing.

Anyway, I am not sure why the loop ensues in the first
time. By looking at the headers, it seems we're passing
the headers correctly.

So, even though this fix interrupts the loop, it still
remains the question of whether the loop is legit or
whether we're missing extra logic to properly redirect.
2021-09-30 14:07:25 +02:00
..
archival.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
bogon.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
db.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
dialer.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
dnsx.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
doc.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
endpoint.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
http.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
logger.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
measurement.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
measurer.go fix(measurex): make sure we don't redirect loop forever (#532) 2021-09-30 14:07:25 +02:00
oddity.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
quic.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
resolver.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
tls.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
tracing.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
utils.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00