Adds a new config flag force_http1 that explicitly sets the protocols in the
Gun open options to use HTTP1. By default, if a TLS connection is set in the
transport (which defaults to TLS if port 443 is used), then the protocols
defaults to [:http2, :http], preferring HTTP2.
We are currently trying to diagnose an issue with stagnation of connections in
the ratelimiter due to missed responses and this flag would allow us to rule out
HTTP2 as having influence in the problems.
I have tested this locally, as you can see here the first map is an inspected
debug log of the generated options and the response is received as normal:
Adds a new config flag
force_http1
that explicitly sets the protocols in the Gun open options to use HTTP1. By default, if a TLS connection is set in thetransport
(which defaults to TLS if port 443 is used), then the protocols defaults to[:http2, :http]
, preferring HTTP2.We are currently trying to diagnose an issue with stagnation of connections in the ratelimiter due to missed responses and this flag would allow us to rule out HTTP2 as having influence in the problems.
I have tested this locally, as you can see here the first map is an inspected debug log of the generated options and the response is received as normal: