Closed
Description
This seems to be happen at port 8080 only.
Please answer these questions before submitting your issue. Thanks!
- What version of Go are you using (
go version
)?
go version devel +31ad583 Wed Aug 10 19:44:08 2016 +0000 darwin/amd64 - What operating system and processor architecture are you using (
go env
)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/rjammala/gocode"
GORACE=""
GOROOT="/Users/rjammala/go"
GOTOOLDIR="/Users/rjammala/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1" - What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
https://play.golang.org/p/-f6Bek3VDS
- What did you expect to see?
That "curl localhost:8080" will give OK reply. - What did you see instead?
$ curl http://localhost:8080/
curl: (52) Empty reply from server