Skip to content

Commit

Permalink
Update async-tungstenite to 0.12 (#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickelc authored and arqunis committed Mar 15, 2022
1 parent 35ee68b commit c80084c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -77,7 +77,7 @@ version = "1.1"
default-features = false
features = ["tokio-runtime"]
optional = true
version = "0.11"
version = "0.12"

# Tokio v0.2
[dependencies.async-tungstenite_compat]
Expand Down
2 changes: 2 additions & 0 deletions src/internal/ws_impl.rs
Expand Up @@ -146,6 +146,7 @@ pub(crate) async fn create_rustls_client(url: Url) -> Result<WsStream> {
max_message_size: None,
max_frame_size: None,
max_send_queue: None,
accept_unmasked_frames: false,
}),
)
.await
Expand All @@ -163,6 +164,7 @@ pub(crate) async fn create_native_tls_client(url: Url) -> Result<WsStream> {
max_message_size: None,
max_frame_size: None,
max_send_queue: None,
accept_unmasked_frames: false,
}),
)
.await?;
Expand Down

0 comments on commit c80084c

Please sign in to comment.