path: root/tests/auto/corelib/tools/qlinkedlist/tst_qlinkedlist.cpp
diff options
authorUlf Hermann <>2015-09-25 13:23:46 +0200
committerUlf Hermann <>2015-10-13 16:40:56 +0000
commit0df5d079290b4c3b13e58e9397fabdc1dfdba96b (patch)
treec56a55dbd60a140db40240b1284e543a4b2622ea /tests/auto/corelib/tools/qlinkedlist/tst_qlinkedlist.cpp
parent9b6cd2764a1516f3f6a13f9c3379603fe0d563a7 (diff)
Don't let closed http sockets pass as valid connections
A QAbstractSocket can be close()'d at any time, independently of its current connection state. being closed means that we cannot use it to read or write data, but internally it might still have some data to send or receive, for example to an http server. We can even get a connected() signal after close()'ing the socket. We need to catch this condition and mark any pending data not yet written to the socket for resending. Task-number: QTBUG-48326 Change-Id: I6f61c35f2c567f2a138f8cfe9ade7fd1ec039be6 Reviewed-by: Simon Hausmann <>
Diffstat (limited to 'tests/auto/corelib/tools/qlinkedlist/tst_qlinkedlist.cpp')
0 files changed, 0 insertions, 0 deletions