summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2019-05-07 17:42:16 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2019-05-08 13:26:03 +0000
commit8adcfa8b240876236f08ad826e6d77ff1f5e9a96 (patch)
treeb9c3b99f07d8e8ef2ed58da5b8dd4596c2fd1cb0 /src/corelib
parenta1516c3b93174af25fe2bb4fe7f1ec1973cebe81 (diff)
WinRT: Fix crash in native socket engine during close
Make sure "this" still exists when we're done sending the readNotification. The crash manifested itself when connecting to certain websites as they would reply with status 403, then close the connection. On our end we would then handle this "remote host closed" followed by handling the data we received. The http code handles the data successfully and sees we are done and there is nothing more to do, so it closes the connection. Which leads to closing QAbstractSocket, which closes native socket again and then deletes it. Fixes: QTBUG-75620 Change-Id: I233c67f359aa8234f1a2c4ea9463108b08c9165f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions