ooni-probe-cli/internal
Simone Basso 3b27780836
fix(webconnectivity): ignore any status code <= 0 (#579)
This diff changes the algorithm used by webconnectivity's
httpanalysis.go to ignore any status code <= 0 rather
than just ignoring the == 0 case.

Make sure we add test cases for when the control's status
code is negative rather than being zero.

While there, simplify code where boolean checks could be
more compact according to staticcheck.

Closes https://github.com/ooni/probe/issues/1825
2021-11-05 13:51:22 +01:00
..
atomicx doc: cleanup and improve for recently moved pkgs (#354) 2021-06-04 11:39:00 +02:00
bytecounter refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
cmd feat(miniooni): add the --censor flag (#571) 2021-11-03 14:23:47 +01:00
engine fix(webconnectivity): ignore any status code <= 0 (#579) 2021-11-05 13:51:22 +01:00
fsx refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
humanize fix(all): introduce and use iox.CopyContext (#380) 2021-06-15 13:44:28 +02:00
kvstore doc: cleanup and improve for recently moved pkgs (#354) 2021-06-04 11:39:00 +02:00
measurex fix(measurex): avoid data race with HTTP request headers (#573) 2021-11-05 11:11:43 +01:00
mlablocate refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
mlablocatev2 refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
multierror doc: cleanup and improve for recently moved pkgs (#354) 2021-06-04 11:39:00 +02:00
netxlite Revert "feat(filtering): implement the divert policy (#569)" (#570) 2021-11-03 14:01:32 +01:00
ooapi master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
platform fix(internal/platform): support freebsd (#445) 2021-08-20 14:00:06 +02:00
ptx refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
randx doc: improve and reference existing bug in the code (#356) 2021-06-04 12:50:23 +02:00
runtimex feat: run ~always netxlite integration tests (#522) 2021-09-29 16:04:26 +02:00
scrubber refactor: move scrubbingLogger to the scrubber pkg (#394) 2021-06-22 14:43:58 +02:00
shellx cleanup(shellx): do not directly depend on apex/log (#357) 2021-06-04 14:02:18 +02:00
tunnel cleanup(all): stop using deprecated ioutil functions (#381) 2021-06-15 14:01:45 +02:00
tutorial fix(measurex): use same keys of the OONI data format (#572) 2021-11-05 10:46:45 +01:00
version chore: version is now 3.12.0-alpha.2 (#576) 2021-11-05 11:54:19 +01:00
README.md doc(netxlite): revamp the documentation (#523) 2021-09-29 20:21:25 +02:00

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:

  • netxlite is the underlying networking library;

  • tutorial contains tutorials on writing new experiments, using measurements libraries, and networking code.