TCP server config default improvements
Some checks are pending
Rust/sat-rs/pipeline/head Build started...
Rust/sat-rs/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2024-05-13 15:31:51 +02:00
parent e38e25a998
commit da05efc16d
Signed by: muellerr
GPG Key ID: A649FB78196E3849
2 changed files with 7 additions and 2 deletions

View File

@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
# [unreleased] # [unreleased]
## Changed
- The HAL TCP server `ServerConfig::new` method now sets the `reuse_port` and `reuse_addr`
fields to `true`.
# [v0.2.0] 2024-05-02 # [v0.2.0] 2024-05-02
## Changed ## Changed

View File

@ -66,8 +66,8 @@ impl ServerConfig {
inner_loop_delay, inner_loop_delay,
tm_buffer_size, tm_buffer_size,
tc_buffer_size, tc_buffer_size,
reuse_addr: false, reuse_addr: true,
reuse_port: false, reuse_port: true,
} }
} }
} }