diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2015-09-03 10:12:02 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2015-09-05 18:12:00 +0000 |
commit | 5237b97f26caa1493128a68f70429292fb422543 (patch) | |
tree | 440de3b8081c81bd95ee64f3aa521afda2f1cd92 /src/platformheaders | |
parent | 353b160a4af276eb554679756f23436face00927 (diff) |
QAbstractSocket: discard input data when opened only for writing
A buffered TCP socket might be open only for writing purpose. As a
possible use case of the API, this patch avoids accumulation of
unwanted data in the internal read buffer.
Change-Id: I2759c1e04968d24e2ae71f3eca05e7e560cd8a41
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/platformheaders')
0 files changed, 0 insertions, 0 deletions