Details
Description
My host has many ip addresses and need to send packets from correct ip, so where is need to use QTcpSocket bind.
If remote host reject connection - qt hangs in infinity loop in QIODevicePrivateLinearBuffer::makeSpace (with newCapacity == 0)
while (newCapacity < required)
newCapacity *= 2;
Simple example attached.
Attachments
Issue Links
- is duplicated by
-
QTBUG-51343 Sockets: Application may hang on exit if bytesAvailable is -1 in QAbstractSocketPrivate::readFromSocket()
- Closed