Closed
Description
Please answer these questions before submitting your issue. Thanks!
- What version of Go are you using (
go version
)?
go version go1.6 linux/amd64
- What operating system and processor architecture are you using (
go env
)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GORACE=""
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
- What did you do?
(Use play.golang.org to provide a runnable example, if possible.)
http://play.golang.org/p/K9IgiTNaFk - What did you expect to see?
204 No content
- What did you see instead?
503 Service Unavailable
It looks like the timer of the timoutHandler is created when the handler is wrapped in
Line 2312 in fdd0179
timer.C
will have already triggered.