We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Instead of multiplexing streams, concurrent longpoll HTTP2 connections always create new connection, unless it's preceded by a complete roundtrip.
This code will reuse connection
getOnce() for i:=0;i<10;i++{ go blockingLongPoll() }
while this code doesn't (as shown by netstat)
for i:=0;i<10;i++{ go blockingLongPoll() }
complete test is in this gist
go version devel +e5956bc linux/amd64