Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALPN identifiers in Alt-Svc #43

Closed
hruellan opened this issue Feb 3, 2015 · 7 comments
Closed

ALPN identifiers in Alt-Svc #43

hruellan opened this issue Feb 3, 2015 · 7 comments
Labels

Comments

@hruellan
Copy link
Contributor

hruellan commented Feb 3, 2015

ALPN identifiers from the ALPN spec have been defined in the context of negotiating the application protocol in TLS. In this context, they imply a layering above TLS.
When used outside this context, there is an ambiguity, mainly for the http/1.1 token: does it refer to HTTP/1.1 over TLS, or can it refer also to HTTP/1.1 over TCP?
The draft should resolve this ambiguity by stating that the http/1.1 identifier is used to identify HTTP/1.1 over TLS.

In addition, a new identifier, h1c for example, could be defined to identify HTTP/1.1 over cleartext TCP, in order to allow using Alt-Svc to be used to target an HTTP/1.1 server over cleartext TCP.

@mnot
Copy link
Member

mnot commented Mar 24, 2015

Discussed in Texas; agreed that http/1.1 means over TLS.

@reschke
Copy link
Contributor

reschke commented Apr 30, 2015

We currently do not have any text or example that uses the "http/1.1" ALPN identifier. Should we add something?

@mcmanus
Copy link
Contributor

mcmanus commented Apr 30, 2015

I think its fine as is. no need to promote legacy through cut and paste.

@mnot
Copy link
Member

mnot commented May 27, 2015

It seems like changes similar to those we put into tunnel-proto for Barry should be sufficient here.

@reschke
Copy link
Contributor

reschke commented Jun 21, 2015

Which, specifically?

@mnot
Copy link
Member

mnot commented Jul 20, 2015

I think it was this text:

The ALPN header field carries an indication of client intent only. An ALPN identifier is used here only to identify the application protocol or suite of protocols that the client intends to use in the tunnel. No negotiation takes place using this header field. In TLS, the final choice of application protocol is made by the server from the set of choices presented by the client. Other substrates could negotiate the application protocol differently.

(modified suitably, of course)

hruellan added a commit to hruellan/http-extensions that referenced this issue Jul 20, 2015
@hruellan
Copy link
Contributor Author

I adapted this text for solving this issue, see: #88.

reschke added a commit that referenced this issue Aug 14, 2015
@reschke reschke closed this as completed Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants