mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +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
|
@ -30,6 +30,6 @@ rustc-serialize = "0.3"
|
|||
cookie="*"
|
||||
regex = "0.1.14"
|
||||
regex_macros = "0.1.8"
|
||||
hyper = "0.4"
|
||||
hyper = "0.5"
|
||||
flate2 = "0.2.0"
|
||||
uuid = "0.1.16"
|
||||
|
|
|
@ -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