Move Arc out of HttpState

This commit is contained in:
Anthony Ramine 2017-04-03 14:00:36 +02:00
parent 8683f4d43e
commit 64ba597a3a
7 changed files with 38 additions and 38 deletions

View file

@ -534,7 +534,7 @@ fn test_fetch_with_hsts() {
let connector = create_http_connector(ssl_client);
let context = FetchContext {
state: HttpState::new(),
state: Arc::new(HttpState::new()),
user_agent: DEFAULT_USER_AGENT.into(),
devtools_chan: None,
filemanager: FileManager::new(),