]> source.dussan.org Git - tigervnc.git/commit
Fix busy loop in FdOutStream::flush()
authorPierre Ossman <ossman@cendio.se>
Mon, 10 Oct 2016 14:05:46 +0000 (16:05 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 10 Oct 2016 14:05:46 +0000 (16:05 +0200)
commitb08b3d42d92e23b5712fec0da1ba784d8b26e2e4
tree7f38447c24d376d2b4afb8de8a445cc694cbcbff
parent3c9012b56d71a6eebd3608406d32d977d08d603b
Fix busy loop in FdOutStream::flush()

This bug was introduced in c6df31db. A non-blocking socket that did
not have any more space would busy loop until the write succeeded.
Instead now it returns without any action, just as it did before
the bug was introduced.
common/rdr/FdOutStream.cxx