diff --git a/wruster/src/streams/cancellable_stream.rs b/wruster/src/streams/cancellable_stream.rs index d63539c..ea97c75 100644 --- a/wruster/src/streams/cancellable_stream.rs +++ b/wruster/src/streams/cancellable_stream.rs @@ -28,6 +28,7 @@ where let read_timeout = RwLock::new(None); let write_timeout = RwLock::new(None); let done = atomic::AtomicBool::new(false); + poller.add(stream.as_raw(), Event::all(1))?; Ok(CancellableStream { stream, done,