ooni-probe-cli/internal/cmd
Simone Basso b8cc548d41
fix(oohelperd): enforce timeout for each measurement step (#888)
While working on https://github.com/ooni/probe/issues/2237, I noticed
there's no enforced timeout for measurement tasks.

So, this diff introduces the following timeouts:

1. use a 4 seconds timeout for the DNS lookup;

2. use a 10 seconds timeout for TCP;

3. use a 15 seconds timeout for HTTP.

They are a bit stricter than what we have on the probe because the TH
should supposedly have better bandwidth and connectivity.
2022-08-28 12:02:17 +02:00
..
apitool cleanup: mark more integration tests as !short mode (#755) 2022-05-24 21:01:15 +02:00
e2epostprocess cleanup(all): stop using deprecated ioutil functions (#381) 2021-06-15 14:01:45 +02:00
getresources refactor: redesign how we import assets (#260) 2021-04-01 16:57:31 +02:00
jafar feat(dnsovergetaddrinfo): collect the CNAME (#876) 2022-08-23 13:53:08 +02:00
miniooni fix(registry): ensure we can run telegram and webconnectivity (#862) 2022-08-17 12:17:52 +02:00
oohelper refactor(netxlite): expose useful HTTPTransport/DNSTransport factories (#813) 2022-06-09 00:30:18 +02:00
oohelperd fix(oohelperd): enforce timeout for each measurement step (#888) 2022-08-28 12:02:17 +02:00
oonireport cleanup: mark more integration tests as !short mode (#755) 2022-05-24 21:01:15 +02:00
printversion fix: ensure we bind oohelperd with the repo's version number (#558) 2021-10-22 17:21:38 +02:00
README.md doc: ensure all top dirs have an explanatory README (#214) 2021-02-03 16:54:00 +01:00

Directory github.com/ooni/probe-cli/internal/cmd

This directory contains the source code for the CLI tools we build but we don't want to expose to the outside world. That is, you can only build these tools if you have cloned this repo.