mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Net: fold websocket and http tokio runtime into one (#31771)
* net: use the same tokio runtime in websocket loader #31648 * readability * license
This commit is contained in:
parent
2789e98876
commit
5c0199b568
6 changed files with 19 additions and 19 deletions
|
@ -18,8 +18,8 @@ use log::warn;
|
|||
use rustls::client::WebPkiVerifier;
|
||||
use rustls::{Certificate, ClientConfig, OwnedTrustAnchor, RootCertStore, ServerName};
|
||||
|
||||
use crate::async_runtime::HANDLE;
|
||||
use crate::hosts::replace_host;
|
||||
use crate::http_loader::HANDLE;
|
||||
|
||||
pub const BUF_SIZE: usize = 32768;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue