tfpauly / draft-happy-eyeballs-v3

Other
4 stars 6 forks source link

Specify when and how to request SVCB/HTTP RRs #3

Open tfpauly opened 10 months ago

tfpauly commented 10 months ago

My initial proposal here is:

DavidSchinazi commented 10 months ago
  • Request HTTPS records for any case where the port is 443 or 80

This part I'm not convinced about. It's possible to run non-HTTP(S) protocols on those ports

or the URL has a scheme of http:// or https://

This part I agree with. Though I'd phrase it as "application will use HTTP(S)" instead of mentioning the URL - semantically you can create an HTTP connection without having an URL in mind.

  • Request the HTTPS record in parallel with A and AAAA

Definitely agree

tfpauly commented 10 months ago

(This ends up updating the current section 4)

bashi commented 10 months ago

This part I agree with. Though I'd phrase it as "application will use HTTP(S)" instead of mentioning the URL - semantically you can create an HTTP connection without having an URL in mind.

"application will use HTTP(S) or WebSocket" (ws:// and wss://) ?

tfpauly commented 10 months ago

Yes, web socket too

ericorth commented 8 months ago

For context, Chrome queries HTTPS whenever the request reaches our DNS stack tagged with a scheme of "http", "https", "ws", or "wss" (but websocket requests are typically internally converted to http/https-schemed URLs before the request gets there anyway). Some requests, e.g. for proxy servers, never have their scheme tagged with the request to the DNS stack and never query HTTPS. I keep meaning to fix that some day.