diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2015-12-23 13:10:30 +0200 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2015-12-24 14:05:26 +0000 |
commit | 6b6955c2ffdb23c461812ffcda12a2296ef58513 (patch) | |
tree | 65c09464b1a43d4c25c06e87498bc93b2bcd2c43 /util | |
parent | 1e2d35d4880574b20537677729093df279658965 (diff) |
QAbstractSocket: do not enable read notifications on TCP in bind()
In bind+connect scenario, rejected connection can trigger a read
notification while the socket is opened. But unlike UDP, reading from
the socket engine or emitting a readyRead() signal is not allowed for
the TCP socket in bound or connecting state.
To make a bind+connect scenario work properly, disable the read
notifications until a connection is established.
Task-number: QTBUG-50124
Change-Id: I7b3d015b0f6021fb9ff9f83560478aa5545f41f5
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions