update to tokio 0.2 release (#932)
* update to tokio 0.2 release * update to h2 0.2.0 * fix compilation errors * server await JoinHandles from spawn * fix integration tests using different Runtimes * cleanup named test output * fix openssl tests * cleanup code from review * refactor server_future for JoinHandle, also fix Udp deadlock
This commit is contained in:
@@ -29,13 +29,13 @@ mod tests {
|
||||
extern crate env_logger;
|
||||
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
|
||||
|
||||
use tokio::runtime::current_thread::Runtime;
|
||||
use tokio::runtime::Runtime;
|
||||
|
||||
use crate::config::{ResolverConfig, ResolverOpts};
|
||||
use crate::AsyncResolver;
|
||||
|
||||
fn tls_test(config: ResolverConfig) {
|
||||
env_logger::try_init().ok();
|
||||
//env_logger::try_init().ok();
|
||||
let mut io_loop = Runtime::new().unwrap();
|
||||
|
||||
let (resolver, bg) = AsyncResolver::new(config, ResolverOpts::default());
|
||||
|
Reference in New Issue
Block a user