Skip to content

Handle alt_svc host #24

Description

@mxinden

AltSvc host and port are currently unused, i.e. not taken into consideration.

happy-eyeballs/src/lib.rs

Lines 446 to 454 in eb44d87

/// 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? ...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2Issues that we want to fix

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions