mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 22:10:01 -04:00
wisp net
This commit is contained in:
parent
3cef68d164
commit
13f282160b
17 changed files with 482 additions and 65 deletions
|
@ -189,7 +189,7 @@ impl<R: WebSocketRead + 'static, W: WebSocketWrite + 'static> MuxInner<R, W> {
|
|||
let (ch_tx, ch_rx) = mpsc::bounded(if self.role == Role::Server {
|
||||
self.buffer_size as usize
|
||||
} else {
|
||||
usize::MAX
|
||||
usize::MAX - 8
|
||||
});
|
||||
|
||||
let should_flow_control = self.tcp_extensions.contains(&stream_type.into());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue