src/network/access/qhttpnetworkconnection.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   651     // check if the reply is currently being processed or it is pipelined in
   651     // check if the reply is currently being processed or it is pipelined in
   652     for (int i = 0; i < channelCount; ++i) {
   652     for (int i = 0; i < channelCount; ++i) {
   653         // is the reply associated the currently processing of this channel?
   653         // is the reply associated the currently processing of this channel?
   654         if (channels[i].reply == reply) {
   654         if (channels[i].reply == reply) {
   655             channels[i].reply = 0;
   655             channels[i].reply = 0;
       
   656             channels[i].request = QHttpNetworkRequest();
       
   657             channels[i].resendCurrent = false;
   656 
   658 
   657             if (!reply->isFinished() && !channels[i].alreadyPipelinedRequests.isEmpty()) {
   659             if (!reply->isFinished() && !channels[i].alreadyPipelinedRequests.isEmpty()) {
   658                 // the reply had to be prematurely removed, e.g. it was not finished
   660                 // the reply had to be prematurely removed, e.g. it was not finished
   659                 // therefore we have to requeue the already pipelined requests.
   661                 // therefore we have to requeue the already pipelined requests.
   660                 channels[i].requeueCurrentlyPipelinedRequests();
   662                 channels[i].requeueCurrentlyPipelinedRequests();