x/net/http2/h2c: uses obsolete upgrade mechanism #63565
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
x/net/http2/h2c package uses HTTP Upgrade headers based mechanism to determine if a connection should be upgraded to h2c.
This mechanism was deprecated by RFC 9113 https://datatracker.ietf.org/doc/html/rfc9113#name-http-2-version-identificatio
Perhaps it makes sense to leave the functionality as is to not break existing clients (?) but would be good to maybe mention the deprecation in code comments and rewrite the other comments that refer to the obsolete RFC 7540 to refer to sections in RFC 9113
The text was updated successfully, but these errors were encountered: