-
Notifications
You must be signed in to change notification settings - Fork 18k
x/net/http2/h2i: tool is broken #17661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I suspect the |
Have you tried the Bash for Windows thing? Maybe it'll work there. |
That didn't work also it results in some sys call error and then:
|
Um, I think you're using some ancient version of Go then. I'm not convinced you're actually using Go 1.7 as you think you are. |
I've verified the version and it is
My guess is that Microsoft WSL team has not yet implemented the system calls used by this package. |
Okay, closing this bug then. I'm not sure there's anything I can do. |
On a second try, it actually worked without changing anything. The output text is displayed in a wired way but the tool seems to be working fine. |
I can reproduce this. And https://go-review.googlesource.com/32373 fixes my problem. Alex |
CL https://golang.org/cl/32373 mentions this issue. |
Fixes golang/go#17661 Change-Id: Iff004af969c694dde9bc3c56add3a419ab1beac7 Reviewed-on: https://go-review.googlesource.com/32373 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
What version of Go are you using (
go version
)?go version go1.7.1 windows/amd64
What operating system and processor architecture are you using (
go env
)?Windows 10 Pro x64 1607
What did you do?
Follow the demo guide provided for
h2i
tool:go get golang.org/x/net/http2/h2i
h2i google.com
What did you expect to see?
h2
debug log for connection togoogle.com
. Something like this:What did you see instead?
The text was updated successfully, but these errors were encountered: