try fix openssl quit (#4)
This commit is contained in:
parent
61b1fef344
commit
7df8fb5b21
@ -1,6 +1,6 @@
|
|||||||
#![cfg(feature = "early-data")]
|
#![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::process::{ Command, Child, Stdio };
|
||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
@ -73,6 +73,7 @@ async fn test_0rtt() -> io::Result<()> {
|
|||||||
.args(&["-cert", "./tests/end.cert"])
|
.args(&["-cert", "./tests/end.cert"])
|
||||||
.args(&["-key", "./tests/end.rsa"])
|
.args(&["-key", "./tests/end.rsa"])
|
||||||
.args(&["-port", "12354"])
|
.args(&["-port", "12354"])
|
||||||
|
.stdin(Stdio::piped())
|
||||||
.stdout(Stdio::piped())
|
.stdout(Stdio::piped())
|
||||||
.spawn()
|
.spawn()
|
||||||
.map(DropKill)?;
|
.map(DropKill)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user