From d86647f52549e349ccd86356dab0ab7701de933d Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sun, 29 Oct 2023 20:34:32 -0500 Subject: [PATCH] Fix proxy timeouts --- common/common.go | 2 +- guix.scm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/common.go b/common/common.go index f3219a5..c77aef6 100644 --- a/common/common.go +++ b/common/common.go @@ -33,7 +33,7 @@ func DialXMPP(ctx context.Context, addr jid.JID, features ...xmpp.StreamFeature) func getDaneConfig(sni string, appname string, service string, ip net.IP, port uint16) *dane.Config { config := dane.NewConfig(sni, ip, int(port)) config.SetDiagMode(true) - config.TimeoutTCP = 4 + config.TimeoutTCP = 10 config.DANE = true config.PKIX = true if appname != "" { diff --git a/guix.scm b/guix.scm index cb46f7e..b1fece1 100644 --- a/guix.scm +++ b/guix.scm @@ -42,16 +42,16 @@ less-is-more principle, by presenting a small, clean interface.") (define-public go-github-com-shuque-dane (package (name "go-github-com-shuque-dane") - (version "0.2.3-64fdf496ecf43e9b374b44b732262dec0dedfa7d") + (version "0.2.3-4f3e92d32a93520b50ee5950d7126ea2fc935eeb") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/singpolyma/dane") - (commit "64fdf496ecf43e9b374b44b732262dec0dedfa7d"))) + (commit "4f3e92d32a93520b50ee5950d7126ea2fc935eeb"))) (file-name (git-file-name name version)) (sha256 (base32 - "10psgggaw46m0brr4q324l6g4pavz4gznfk1spwsd3pfm53p50ny")))) + "0196mh69f3fb6vd0spnkdvzvv8hm7m77s06pz9kcmi8qwcpxwwps")))) (build-system go-build-system) (arguments `(#:import-path "github.com/shuque/dane" #:go ,go-1.19 #:tests? #f)) -- 2.45.2