outputstream: Make the blocking send thread safe
There was a possible race between disconnection and freeing of the WriteDatas structure, now it's ref-counted so it can never happen. Also set the len to -1 if the cancellable was cancelled.
Showing
Please register or sign in to comment