86018ecb82
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. |
||
---|---|---|
.. | ||
atomicx | ||
bytecounter | ||
cmd | ||
engine | ||
fsx | ||
humanize | ||
kvstore | ||
measurex | ||
mlablocate | ||
mlablocatev2 | ||
multierror | ||
netxlite | ||
ooapi | ||
platform | ||
ptx | ||
randx | ||
runtimex | ||
scrubber | ||
shellx | ||
tunnel | ||
tutorial | ||
version | ||
README.md |
Directory github.com/ooni/probe-cli/internal
This directory contains private Go packages.
As a reminder, you can always check the Go documentation of a package by using
go doc -all ./internal/$package
where $package
is the name of the package.
Some notable packages: