mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 14:48:13 -05:00
fix(harness): do not close connection too early (#935)
This commit is contained in:
@@ -73,10 +73,10 @@ pub async fn bench_prover(provider: &IoProvider, config: &Bench) -> Result<Prove
|
||||
);
|
||||
|
||||
conn.write_all(request.as_bytes()).await?;
|
||||
conn.close().await?;
|
||||
|
||||
let mut response = Vec::new();
|
||||
conn.read_to_end(&mut response).await?;
|
||||
conn.close().await?;
|
||||
|
||||
Ok(())
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user