Use curl as user agent

This commit is contained in:
9seconds
2026-03-12 21:43:04 +01:00
parent 7762cf3a55
commit a85348d6be
3 changed files with 8 additions and 1 deletions
+3
View File
@@ -28,6 +28,9 @@ const (
// probes.
DefaultTCPKeepAlivePeriod = 10 * time.Second
// User Agent to use in HTTP client.
UserAgent = "curl/8.5.0"
// tcpLingerTimeout defines a number of seconds to wait for sending
// unacknowledged data.
tcpLingerTimeout = 1