h2 icon indicating copy to clipboard operation
h2 copied to clipboard

Potential issue with max concurrent streams

Open cynecx opened this issue 3 years ago • 0 comments

See https://github.com/hyperium/hyper/issues/2419.

This can be reproduced "faster" by limiting the max concurrent streams on the server side (go):

import (
	"net/http"
	"golang.org/x/net/http2"
...
)
...
	server := &http.Server{Addr: ":9001", Handler: r, ErrorLog: logger}
	http2.ConfigureServer(server, &http2.Server{
		MaxConcurrentStreams: 4,
	})

cynecx avatar Aug 01 '21 18:08 cynecx