]> source.dussan.org Git - tigervnc.git/commit
Don't trust GNUTLS_E_AGAIN
authorPierre Ossman <ossman@cendio.se>
Wed, 6 Apr 2022 13:23:50 +0000 (15:23 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 6 Apr 2022 13:31:15 +0000 (15:31 +0200)
commitcee5a417c8411adbeba7cee9e22c1bd519cf39c6
tree7066034c7f4a3b35a17756cabf8b8f6d57987a47
parenta97e9b119e58dd2d59fa479b6c753c940d093e8f
Don't trust GNUTLS_E_AGAIN

Unfortunately this error can be given by GnuTLS even though the
underlying stream still has data available. So stop trusting this value
and keep track of the underlying stream explicitly.
common/rdr/TLSInStream.cxx
common/rdr/TLSInStream.h