Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upx/net/http2: cannot create 'MaxConcurrentStreams' streams with a single ClientConn #35860
Labels
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
/cc @bradfitz @tombergan per owners. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Attempt to create max concurrent streams with one client connection.
What did you expect to see?
Expected to see the last
RoundTrip
request succeed.What did you see instead?
The issue appears to be at https://github.com/golang/net/blob/master/http2/transport.go#L735:
where the test is to see whether an additional stream can be handled, but the condition should be
<=
instead of<
.