Commit 35c03a5
committed
libvncclient: ensure WaitForMessage() says 1 in case of buffered data
Previously, WaitForMessage() would only check the socket for new data
using select(), even when ReadFromRFBServer had already buffered
unprocessed data. This could cause unnecessary timeouts and delays in
message processing.1 parent 56e08b6 commit 35c03a5
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
976 | 976 | | |
977 | 977 | | |
978 | 978 | | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
979 | 985 | | |
980 | 986 | | |
981 | 987 | | |
| |||
0 commit comments