Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.1
-
None
-
80af20429715228a69122ee824a64108dfb53809
Description
QNativeSocketEngine::bytesAvailable uses Q_CHECK_NOT_STATE to verify the state, but returns false (interpreted as zero bytes available) instead of -1 (error) on errors. This can adversely affect the behavior on "Host unreachable" disconnects.
Attachments
For Gerrit Dashboard: QTBUG-30024 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
49763,2 | Return -1 as the API documents it for socket issues | stable | qt/qtbase | Status: MERGED | +2 | 0 |