Skip to content

Commit

Permalink
feat: allow_fragmentation in UdpSocketOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Dec 1, 2024
2 parents 25485e5 + abe76d7 commit f302723
Show file tree
Hide file tree
Showing 12 changed files with 647 additions and 3,431 deletions.
1 change: 1 addition & 0 deletions crates/shadowsocks-service/src/local/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ impl Server {
connect_opts.tcp.keepalive = config.keep_alive.or(Some(LOCAL_DEFAULT_KEEPALIVE_TIMEOUT));
connect_opts.tcp.mptcp = config.mptcp;
connect_opts.udp.mtu = config.udp_mtu;
connect_opts.udp.allow_fragmentation = config.outbound_udp_allow_fragmentation;
context.set_connect_opts(connect_opts);

let mut accept_opts = AcceptOpts {
Expand Down
Loading

0 comments on commit f302723

Please sign in to comment.