AltSvc host and port are currently unused, i.e. not taken into consideration.
|
/// Alternative service information from previous connections. |
|
/// |
|
/// See [RFC 7838](https://datatracker.ietf.org/doc/html/rfc7838). |
|
#[derive(Debug, Clone)] |
|
pub struct AltSvc { |
|
pub host: Option<String>, |
|
pub port: Option<u16>, |
|
pub protocol: HttpVersion, |
|
} |
I don't think it is trivial how host and port should be handled in relation to HTTPS RR, A and AAAA, i.e. should they be treated like we treat a positive AAAA? Should they be a hint? ...?
AltSvchostandportare currently unused, i.e. not taken into consideration.happy-eyeballs/src/lib.rs
Lines 446 to 454 in eb44d87
I don't think it is trivial how
hostandportshould be handled in relation to HTTPS RR, A and AAAA, i.e. should they be treated like we treat a positive AAAA? Should they be a hint? ...?