-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Closed as not planned
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.
Description
Go version
go version go1.24.1 linux/amd64
Output of go env in your module/workspace:
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE=''
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/home/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/home/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS='-modcacherw'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/home/bin/go-build3795471269=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/dev/null'
GOMODCACHE='/home/go/pkg/mod'
GONOPROXY='NO'
GONOSUMDB='NO'
GOOS='linux'
GOPATH='/home/go'
GOPRIVATE='NO'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/tools/go1.24.1'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/telemetry'
GOTMPDIR='/home/bin'
GOTOOLCHAIN='auto'
GOTOOLDIR='/tools/go1.24.1/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.24.1'
GOWORK=''
PKG_CONFIG='pkg-config'What did you do?
I have deployed kubernetes application using golang listenAndServe which sends http2 request and response between client and server. I have two application one acts as client and sends request and have fqdn resolve lib which resolves gives ip and port when failed to resolve request sends with fqdn itself.
What did you see happen?
when request sends with fqdn itself ClientTimeout 2s is ignored and takes 4s to receive nil response when incorrect fqdn is in use.
What did you expect to see?
ClientTimeout 2s and response nil. If invalid ip is in 2s timeout seen
Metadata
Metadata
Assignees
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.