Skip to content

Commit

Permalink
wip: add support for ECN on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
stormshield-damiend committed Nov 3, 2023
1 parent 49aa4b6 commit a0cb3c8
Show file tree
Hide file tree
Showing 6 changed files with 484 additions and 32 deletions.
1 change: 1 addition & 0 deletions quinn-proto/src/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1209,6 +1209,7 @@ impl Connection {
/// Retrieving the local IP address is currently supported on the following
/// platforms:
/// - Linux
/// - Windows
///
/// On all non-supported platforms the local IP address will not be available,
/// and the method will return `None`.
Expand Down
3 changes: 3 additions & 0 deletions quinn-udp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ mod cmsg;
#[path = "unix.rs"]
mod imp;

#[cfg(windows)]
#[path = "wsa_cmsg.rs"]
mod cmsg;
#[cfg(windows)]
#[path = "windows.rs"]
mod imp;
Expand Down
Loading

0 comments on commit a0cb3c8

Please sign in to comment.