GTlsInputStreamGnutls incorrectly implements GPollableInputStream by not calling gnutls_record_check_pending()
@walters
Submitted by Colin Walters Link to original bug (#720600)
Description
I'm not fully certain this is a bug in glib-networking, but evidence points that way, and I'd like to file a bug so that at least if other people hit this, there's a reference.
See: https://github.com/cockpit-project/cockpit/commit/de1622209e4b22b8c94e2b3dbf00b1da138f1058
In case that goes away, basically the symptom was that our app stopped processing. The workaround is to loop calling g_pollable_input_stream_read_nonblocking() instead of just calling it once, as should be required.