There might be stuff lingering in the buffer simply because flush() hasn't been called in a while, rather than because the transport is congested.tags/v1.6.90
@@ -832,6 +832,7 @@ bool VNCSConnectionST::isCongested() | |||
int offset; | |||
// Stuff still waiting in the send buffer? | |||
sock->outStream().flush(); | |||
if (sock->outStream().bufferUsage() > 0) | |||
return true; | |||