We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using your code, if I make a handler like:
func handler(w http.ResponseWriter, r *http.Request) { time.Sleep(time.Second * 5) fmt.Fprintf(w, "This request is served over h2c!") }
and make two requests at the same time, one returns in 5 seconds, the other one returns in 10 seconds.
I think you need a go statement like go server.ServeConn in the example code.
go
go server.ServeConn
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using your code, if I make a handler like:
and make two requests at the same time, one returns in 5 seconds, the other one returns in 10 seconds.
I think you need a
go
statement likego server.ServeConn
in the example code.The text was updated successfully, but these errors were encountered: