net/transport/tor: Release stream Mutex lock after obtaining a RendRequest

This commit is contained in:
parazyd
2024-05-30 19:31:50 +02:00
parent bddf4ce774
commit 65df99394b

View File

@@ -225,6 +225,8 @@ impl PtListener for TorListenerIntern {
return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"))
};
drop(rendreq_stream);
let mut streamreq_stream = match rendrequest.accept().await {
Ok(v) => v,
Err(e) => {