Skip to content

gnutls: Reject new sync ops when handshake is in progress

Michael Catanzaro requested to merge wip/deadlock into master

When certificate verification was moved into the handshake, we introduced a deadlock in WebKit when loading TLS error pages. The problem is described here:

https://bugs.webkit.org/show_bug.cgi?id=107451#c3

We should be robust to such problematic operations, and return an error instead.

Fixes #46 (closed)

Merge request reports