]> source.dussan.org Git - tigervnc.git/commit
Check the correct stream if there is more data pending
authorPierre Ossman <ossman@cendio.se>
Mon, 9 Dec 2019 15:58:07 +0000 (16:58 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 9 Dec 2019 15:58:07 +0000 (16:58 +0100)
commit10c40dbc8639acf97b246cfebc2b4bf8c55d564d
tree4d34467999c0af1761416cdcd179de51f4816b57
parentec3899ecd1c49548b08dd38e1e7a93b4602328a8
Check the correct stream if there is more data pending

The input stream might no longer be the raw socket, so we need to
query what's currently active. That wrapping stream might have its
own buffering and may have more data even if the socket is drained.
vncviewer/CConn.cxx