I used the readResponseHeader() signal and it was able to read the response header for the HTTP GET I requested. Unfortunately the HTTP state is still stuck in state "reading". Which means (I think) that it will not process the next que'd HTTP request. I'd like get the HTTP state to "closed" so that I can let QHTTP do the next command in its queue.

I am worried though that if I use the "QHttp::close()" command, my TCP connection will also be closed and bye bye to my streaming video.

Any ideas how to get the QHttp to send the next request without closing the TCP session that was setup for the GET? (the TCP session stays open from the GET to receive the streaming video).


Qt Code:
  1. void VideoInterfaceRealAxis282MJpeg::readResponseHeader(const QHttpResponseHeader
  2. &responseHeader)
  3. {
  4. switch (responseHeader.statusCode()) {
  5. case 200: // Ok
  6. qDebug("HTTP Header status 200 (OK) found");
  7. break;
  8.  
  9. default:
  10. break;
  11. }
  12. }
To copy to clipboard, switch view to plain text mode