diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2015-09-07 16:54:59 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2015-09-09 18:44:09 +0000 |
commit | aaab800e1651fc9f04d62a76eda9b8cafbbe14c0 (patch) | |
tree | c72ddbfca7785f2cbabbf42176a40e6acb49989c /src/corelib/codecs | |
parent | 25c0fdc885c675c0253adc4d8a7b528ad88e49e3 (diff) |
QAbstractSocket: try to send all data on flush()
Internal write buffer may have multiple blocks of data which wait a
transmission. In this case, ensuring a single write() is not enough to
flush the buffer completely. Allow several attempts that aim to write
as much as possible data from the buffer to the underlying network
socket.
Change-Id: I34b5ec65abe42853906168cdb05f793bd51162ec
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/codecs')
0 files changed, 0 insertions, 0 deletions