qt5base-lts/tests/auto/xml
Andy Shaw 1d9547c9a4 Don't indefinitely wait for data if it was able to read some data
Passing -1 to waitForReadyRead() may cause it to wait for some time
but the data retrieved may be enough for processing. So if 0 is passed
from read, indicating that there is potentially more to come, then
it will do a waitForReadyRead() then for more data to come.

Change-Id: I75f270d1f124ecc12b18512cc20fb11f7a88f02e
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-01-24 05:54:31 +00:00
..
dom Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-29 00:38:01 +02:00
sax Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
xml.pro