Closed
Description
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