TCP server config default improvements #187

Merged
muellerr merged 2 commits from tcp-server-cfg-improvements into main 2024-05-18 12:44:53 +02:00
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,
} }
} }
} }