Add netcheck_request: one HTTP request and its whole answer, so a service's live answers can be captured (issue 1643)

This commit is contained in:
2026-10-21 10:08:59 +00:00
parent f0c8958dd2
commit ff849d9f62
6 changed files with 338 additions and 1 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ func TestTheToolsAreListedUnprefixed(t *testing.T) {
for _, tool := range tools() {
names[tool.Name] = true
}
if !names["netcheck_tcp"] || !names["netcheck_dns"] || !names["netcheck_listening"] || !names["netcheck_tunnel"] || len(names) != 4 {
if !names["netcheck_tcp"] || !names["netcheck_dns"] || !names["netcheck_listening"] || !names["netcheck_tunnel"] || !names["netcheck_request"] || len(names) != 5 {
t.Fatalf("tools: %v", names)
}
}