-
Olivier Crête authored
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.
3da6767e
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.