feat(server): apply reply traffic class #84

Merged
Lochnair merged 4 commits from feat/server-reply-traffic-class into main 2026-08-13 16:12:59 +00:00
Showing only changes of commit 965369ae2a - Show all commits
+2 -2
View File
2
@@ -131,8 +131,8 @@ impl Server {
/// A reply whose marking could not be applied is not sent instead: sending /// A reply whose marking could not be applied is not sent instead: sending
/// it would put it on the wire under the previous reply's marking. An /// it would put it on the wire under the previous reply's marking. An
/// *unmarked* reply on a socket this server has never marked is the one /// *unmarked* reply on a socket this server has never marked is the one
/// exception, so a host that does not support the option at all still runs /// exception, so a host that does not support the option at all — some
/// a working server. See [`Server::prepare_reply_traffic_class`]. /// Windows builds do not support `IP_TOS` — still runs a working server.
pub async fn run<F>(&mut self, shutdown: F) -> Result<(), ServerRuntimeError> pub async fn run<F>(&mut self, shutdown: F) -> Result<(), ServerRuntimeError>
where where
F: Future<Output = ()>, F: Future<Output = ()>,