mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move to latest hyper everywhere
This commit is contained in:
parent
ec79881471
commit
f80f99fe1e
15 changed files with 178 additions and 237 deletions
|
@ -131,7 +131,7 @@ reason: \"certificate verify failed\" }]))";
|
|||
let mut connector = if opts::get().nossl {
|
||||
HttpConnector(None)
|
||||
} else {
|
||||
HttpConnector(Some(box verifier as Box<FnMut(&mut SslContext) + Send>))
|
||||
HttpConnector(Some(box verifier as Box<Fn(&mut SslContext) + Send>))
|
||||
};
|
||||
|
||||
let mut req = match Request::with_connector(load_data.method.clone(), url.clone(), &mut connector) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue