[forwardport] release 3.11: update all the dependencies (#636) (#637)

* [forwardport] release 3.11: update all the dependencies (#636)

This diff forward ports e291e436b3c332300f5567796f9c48bb9bc1e652.

* chore: use go1.17.4 everywhere

Part of https://github.com/ooni/probe/issues/1843

* chore: update to the latest ooni/oohttp

Part of https://github.com/ooni/probe/issues/1843

* chore: update the dependencies

Note: I did an update and not an upgrade (i.e., I didn't check
whether we have next-major-versions of dependencies).

Part of https://github.com/ooni/probe/issues/1843

* chore: update the user-agent we use

Part of https://github.com/ooni/probe/issues/1843

* chore: update ooni/oohttp and ooni/probe-assets

Part of https://github.com/ooni/probe/issues/1843

* chore: run go generate again

Part of https://github.com/ooni/probe/issues/1843

* fix(jafar): skip currently broken test

Created issue for it here: https://github.com/ooni/probe/issues/1913
This commit is contained in:
Simone Basso
2021-12-06 17:46:13 +01:00
committed by GitHub
parent dc9fbe9c64
commit 611fed05f4
32 changed files with 82 additions and 74 deletions
@@ -11,6 +11,7 @@ import (
)
func TestGood(t *testing.T) {
t.Skip("TODO(https://github.com/ooni/probe/issues/1913)")
client, err := NewClient("dot://1.1.1.1:853")
if err != nil {
t.Fatal(err)
+2 -2
View File
@@ -3,8 +3,8 @@ package httpheader
// UserAgent returns the User-Agent header used for measuring.
func UserAgent() string {
// 10.0% as of Oct 20, 2021 according to https://techblog.willshouse.com/2012/01/03/most-common-user-agents/
const ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36"
// 15.1% as of Dec 06, 2021 according to https://techblog.willshouse.com/2012/01/03/most-common-user-agents/
const ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"
return ua
}
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-11-15 13:49:26.332888 +0100 CET m=+0.458267251
// 2021-12-06 16:54:29.970299 +0100 CET m=+1.432552960
// https://curl.haxx.se/ca/cacert.pem
package netxlite
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// Generated: 2021-11-15 13:49:27.173375 +0100 CET m=+0.490372584
// Generated: 2021-12-06 16:54:30.991444 +0100 CET m=+0.681523834
package netxlite
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// Generated: 2021-11-15 13:49:26.683306 +0100 CET m=+0.000292626
// Generated: 2021-12-06 16:54:30.311109 +0100 CET m=+0.001174334
package netxlite
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// Generated: 2021-11-15 13:49:26.819002 +0100 CET m=+0.135992126
// Generated: 2021-12-06 16:54:30.612024 +0100 CET m=+0.302095917
package netxlite
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// Generated: 2021-11-15 13:49:26.856794 +0100 CET m=+0.173784751
// Generated: 2021-12-06 16:54:30.676029 +0100 CET m=+0.366102209
package netxlite
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// Generated: 2021-11-15 13:49:26.921544 +0100 CET m=+0.238535667
// Generated: 2021-12-06 16:54:30.747104 +0100 CET m=+0.437179042
package netxlite
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// Generated: 2021-11-15 13:49:26.975879 +0100 CET m=+0.292872626
// Generated: 2021-12-06 16:54:30.787104 +0100 CET m=+0.477179084
package netxlite
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// Generated: 2021-11-15 13:49:27.048049 +0100 CET m=+0.365044251
// Generated: 2021-12-06 16:54:30.854451 +0100 CET m=+0.544527417
package netxlite
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// Generated: 2021-11-15 13:49:27.087772 +0100 CET m=+0.404768167
// Generated: 2021-12-06 16:54:30.896609 +0100 CET m=+0.586686376
package netxlite
+1 -1
View File
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// Generated: 2021-11-15 13:49:27.135917 +0100 CET m=+0.452914042
// Generated: 2021-12-06 16:54:30.95047 +0100 CET m=+0.640549376
package netxlite