3 ms·
Back when http was part of the standard library (I think it was eventually pulled out?), I was building a long polling server with Go and had to fix some stuff
by dvt 8y ago
Back when http was part of the standard library (I think it was eventually pulled out?), I was building a long polling server with Go and had to fix some stuff to make sure it worked properly. I can hardly believe I wrote some of these patches nearly 10 years ago[1].
With that said, I'm glad to see the Go ecosystem continue to grow. Unfortunately, I haven't used the language for much (corporate jobs were always Java, startup jobs were always JS -- and recently, it's been Python everywhere).
PS: I still brag about Rob Pike & Russ Cox approving my patches ;)
[1] https://github.com/golang/go/issues/93 https://github.com/golang/go/issues/93
- enitihas 8y agohttp is still a part of the standard library, and having used it recently, I find the API good enough.
- mappu 8y agoAlthough the package was moved from "http" (in the linked example) to "net/http" in commit de03d502 in Nov 2011, four months before 1.0 and its compatibility promise.
- logansnewmoon 8y agoThis is what you "brag" about? https://codereview.appspot.com/154099/diff/20/src/pkg/http/server.go https://codereview.appspot.com/154099/diff/20/src/pkg/http/s... Thanks for contributing to OSS though! :D
- sergiotapia 8y agoDamn. Savage.