equal
deleted
inserted
replaced
286 if (uploadByteDevice) { |
286 if (uploadByteDevice) { |
287 QObject::disconnect(uploadByteDevice, SIGNAL(readyRead()), this, SLOT(_q_uploadDataReadyRead())); |
287 QObject::disconnect(uploadByteDevice, SIGNAL(readyRead()), this, SLOT(_q_uploadDataReadyRead())); |
288 } |
288 } |
289 |
289 |
290 // HTTP pipelining |
290 // HTTP pipelining |
291 //connection->d_func()->fillPipeline(socket); |
291 connection->d_func()->fillPipeline(socket); |
292 //socket->flush(); |
292 socket->flush(); |
293 |
293 |
294 // ensure we try to receive a reply in all cases, even if _q_readyRead_ hat not been called |
294 // ensure we try to receive a reply in all cases, even if _q_readyRead_ hat not been called |
295 // this is needed if the sends an reply before we have finished sending the request. In that |
295 // this is needed if the sends an reply before we have finished sending the request. In that |
296 // case receiveReply had been called before but ignored the server reply |
296 // case receiveReply had been called before but ignored the server reply |
297 if (socket->bytesAvailable()) |
297 if (socket->bytesAvailable()) |