mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
ws: upgrade tungstenite
This commit is contained in:
parent
1667339ee5
commit
c2f7b6ed92
6 changed files with 13 additions and 10 deletions
|
|
@ -76,6 +76,7 @@ pub struct NetworkConfig {
|
|||
|
||||
pub websocket_max_message_size: usize,
|
||||
pub websocket_max_frame_size: usize,
|
||||
pub websocket_write_buffer_size: usize,
|
||||
|
||||
/// Return a HTTP 200 Ok response when receiving GET /health. Can not be
|
||||
/// combined with enable_tls.
|
||||
|
|
@ -95,6 +96,7 @@ impl Default for NetworkConfig {
|
|||
|
||||
websocket_max_message_size: 64 * 1024,
|
||||
websocket_max_frame_size: 16 * 1024,
|
||||
websocket_write_buffer_size: 8 * 1024,
|
||||
|
||||
enable_http_health_checks: false,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue