From 7df8fb5b21887a6610de29445c74b10c7c410230 Mon Sep 17 00:00:00 2001 From: quininer Date: Tue, 25 Feb 2020 03:42:22 +0800 Subject: [PATCH] try fix openssl quit (#4) --- tokio-rustls/tests/early-data.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tokio-rustls/tests/early-data.rs b/tokio-rustls/tests/early-data.rs index 35523e0..d7f2df9 100644 --- a/tokio-rustls/tests/early-data.rs +++ b/tokio-rustls/tests/early-data.rs @@ -1,6 +1,6 @@ #![cfg(feature = "early-data")] -use std::io::{ self, BufReader, BufRead, Cursor }; +use std::io::{ self, BufRead, BufReader, Cursor }; use std::process::{ Command, Child, Stdio }; use std::net::SocketAddr; use std::sync::Arc; @@ -73,6 +73,7 @@ async fn test_0rtt() -> io::Result<()> { .args(&["-cert", "./tests/end.cert"]) .args(&["-key", "./tests/end.rsa"]) .args(&["-port", "12354"]) + .stdin(Stdio::piped()) .stdout(Stdio::piped()) .spawn() .map(DropKill)?;