HTTP internals: keep consistent state in channel and protocol handler
authorPeter Hartmann <phartmann@blackberry.com>
Thu, 13 Mar 2014 15:55:28 +0000 (16:55 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 15 Mar 2014 09:44:16 +0000 (10:44 +0100)
commit2bbdc6358f73ce167140bace821d606e720c0ded
treed59a0b5847770b0621daa44dd5c4873f098e8e0d
parent61fda89cd1c1f95c408059c33a651407ff243ee1
HTTP internals: keep consistent state in channel and protocol handler

It could be that the channel has its reply already reset to 0, while
the protocol handler thinks the reply is still active, which might
lead to weird behavior including hard to reproduce crashes.

Task-number: QTBUG-37424

Change-Id: I89b65d34caaa546a343edc2ee205aa76425de88f
Reviewed-by: Richard J. Moore <rich@kde.org>
src/network/access/qhttpnetworkconnection.cpp