mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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
|
@ -39,6 +39,7 @@ use serde::{Deserialize, Serialize};
|
|||
use servo_arc::Arc as ServoArc;
|
||||
use servo_url::{ImmutableOrigin, ServoUrl};
|
||||
|
||||
use crate::async_runtime::HANDLE;
|
||||
use crate::connector::{
|
||||
create_http_client, create_tls_config, CACertificates, CertificateErrorOverrideManager,
|
||||
};
|
||||
|
@ -48,7 +49,7 @@ use crate::fetch::methods::{fetch, CancellationListener, FetchContext};
|
|||
use crate::filemanager_thread::FileManager;
|
||||
use crate::hsts::HstsList;
|
||||
use crate::http_cache::HttpCache;
|
||||
use crate::http_loader::{http_redirect_fetch, HttpState, HANDLE};
|
||||
use crate::http_loader::{http_redirect_fetch, HttpState};
|
||||
use crate::storage_thread::StorageThreadFactory;
|
||||
use crate::{cookie, websocket_loader};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue