Commit ad55927
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 f2a118f commit ad55927
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
865 | | - | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
866 | 871 | | |
867 | 872 | | |
868 | 873 | | |
| |||
0 commit comments