Skip to content

gnutls: handle cancellation in pull timeout callback

Ole André noticed that we should probably finish the timeout function immediately if the read is cancelled. The impact of this is probably not very great, since it only matters if the cancellable is cancelled from some other thread. It can't be cancelled on the thread that performed the read operation, because that thread is blocked in this pull timeout callback. :)

Merge request reports