Is there an official list of valid ALPN protocol strings?

940 Views Asked by At

Are there official ALPN protocol strings for well-known protocols? I've seen clients and servers that send or expect HTTP/1.1 to be referenced with the ALPN string http/1.1, http1.1, and http 1.1. For example, I work with a proxy that received http 1.1 for HTTP/1.1 from a client while the proxy expected http/1.1, so the proxy rejected the TLS handshake because the protocol was unrecognized. Are one of these officially correct or incorrect? I can't find an RFC that either specifies these explicitly nor, conversely, can I find an RFC that says there is officially no standard. (I might simply be missing it from browsing RFC 7301.) HTTP/2, on the other hand, seems to always be referenced as h2.

0

There are 0 best solutions below