Move to latest hyper everywhere

This commit is contained in:
Manish Goregaokar 2015-06-02 15:00:29 +05:30
parent ec79881471
commit f80f99fe1e
15 changed files with 178 additions and 237 deletions

View file

@ -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) {