Skip to content

Commit 07553b4

Browse files
committed
Emit a signal when the connection was unexpectedly closed so that it could be handled by user
1 parent dbb7058 commit 07553b4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/qhttpresponse.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,6 @@ void QHttpResponse::end(const QByteArray &data)
181181
void QHttpResponse::connectionClosed()
182182
{
183183
m_finished = true;
184+
emit done();
184185
deleteLater();
185186
}

0 commit comments

Comments
 (0)