http2_adapter 2.9.0
·
2 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
What's new
- Expose
supportedProtocolsonConnectionManager(defaults to['h2'],
fully backwards-compatible). Setting it to['h2', 'http/1.1']fixes
fallbackAdaptersilently never firing against RFC 7301-compliant servers
that abort the TLS handshake withno_application_protocolwhen onlyh2
is advertised. - Fix socket leak: when
DioH2NotSupportedExceptionis thrown after a
successful TLS handshake (server selectedhttp/1.1instead ofh2),
theSecureSocketis now explicitly destroyed before routing to
fallbackAdapter, rather than being abandoned. - Deprecate the misspelled
ConnectionManager.handshakeTimoutparameter in
favor of the correctly spelledhandshakeTimeout; the deprecated alias
keeps working and is scheduled for removal in 3.0.0.