News for hackers. Stuff that matters.
Re:Would Rust have prevented Heartbleed? Another look by jamii on Tuesday March 17, 2015 @03:28PM (#9220627)
> (How does rust do that?)

My first thought would be to attach the connection object to the data the other thread is working on. When it is done it processing your message it drops the whole thing, closing the connection. If you want to hold it open for multiple workers you could make it an Arc<Connection> so it doesn't close until they all drop it.

There are no comments on this comment yet.