https://bugs.kde.org/show_bug.cgi?id=458448

--- Comment #6 from Bernie Innocenti <ber...@codewiz.org> ---
Ok, perhaps something is special about  the virtual override in
HTTPProtocol::special() ?

As far as I understand, `HTTPProtocol::httpClose(keepAlive = true)` will set
timeoutData to 99, which causes special() to call httpCloseConnection(). Should
it have called finished() afterwards?

Elsewhere, I see calls to finished() just after httpClose()... but not
everywhere:
 - HTTPProtocol::error(): the doc of finished() says you shouldn't call it
after calling error(), so I guess this is ok?
 - HTTPProtocol::~HTTPProtocol(): Is it possible to destroy the instance while
a timeout is still pending?
 - HTTPProtocol::proceedUntilResponseContent(): might return early is status !=
0. Otherwise, it will call finish() either in sendHttpError() or outside.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to