Profile cover photo
Profile photo
Owen Ou
125 followers -
An awesome programing ninja
An awesome programing ninja

125 followers
About
Posts

Post has attachment
Cross post from: https://groups.google.com/forum/#!topic/golang-nuts/apVfiayC01I

I'm using `httputil.ReverseProxy` to proxy to a host behind ELB, and I'm getting the errors "http: proxy error: net/http: request canceled" & "http: proxy error: net/http: transport closed before response was received" occasionally. The line that printed the error is https://github.com/golang/go/blob/release-branch.go1.5/src/net/http/httputil/reverseproxy.go#L196. And the error came from `http.Transport.RoundTrip`: https://github.com/golang/go/blob/release-branch.go1.5/src/net/http/httputil/reverseproxy.go#L194.

After more digging, the errors (https://github.com/golang/go/blob/release-branch.go1.5/src/net/http/transport.go#L1093-L1094) could come from a couple places in `http.Transport.RoundTrip`. I'm wondering whether you have met this issue, and whether there's a way to trace the callstack of `http.Transport.RoundTrip` to understand why the errors were returned?

My Go version is 1.5.3 and the OS is Linux.

Post has attachment
Elegant WebSockets in Go: https://github.com/gophergala2016/thunderbird. I'm competing in Gopher Gala 2016. If you like what you see, please vote for "thunderbird" in the judging system :): https://obscure-savannah-52814.herokuapp.com.

Post has attachment
Elegant WebSockets in Go: https://github.com/gophergala2016/thunderbird. I'm competing in Gopher Gala 2016. If you like what you see, please vote for "thunderbird" in the judging system :): https://obscure-savannah-52814.herokuapp.com.

Post has shared content
"docker" functionality implemented in 100 lines of bash, very nice hack.  Shows just how powerful btrfs is, along with the 'ip' tool.
Add a comment...

Post has attachment

Post has attachment

Post has attachment
i étais à Québec
Photo
Add a comment...

Post has attachment
Introducing `ccat`, the syntax highlighting `cat`, https://github.com/jingweno/ccat
jingweno/ccat
jingweno/ccat
github.com

Post has attachment
The next #GolangVan  meetup is about Compiler Optimization and Gopher swags, http://www.meetup.com/golangvan/events/221155638. You may not want to miss it :).

Post has attachment
If you're in #Vancouver, the next #GolangVan  meetup is about Compiler Optimization and Gopher swags, http://www.meetup.com/golangvan/events/221155638. You may not want to miss it :).
Wait while more posts are being loaded