Merge pull request 'TCP server config default improvements' (#187) from tcp-server-cfg-improvements into main
All checks were successful
Rust/sat-rs/pipeline/head This commit looks good
All checks were successful
Rust/sat-rs/pipeline/head This commit looks good
Reviewed-on: #187
This commit is contained in:
commit
45379858f0
@ -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
|
||||||
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user