Commit 69e7309ba164cca12633b176cdb88d46fa9da6a9

Fix a socket thread ownership issue
  
2323
2424#include <QDebug>
2525#include <QTcpSocket>
26#include <QThread>
2627
2728#include "fastcgi.h"
2829
3636 , m_requestId(requestId)
3737 , m_socket(socket)
3838 {
39 m_socket->setParent(this);
3940 open(QIODevice::ReadWrite | QIODevice::Unbuffered);
4041 connect(
4142 m_socket,
8787
8888 qint64 FastCgiStream::writeData(const char* data, qint64 dataSize)
8989 {
90 Q_ASSERT(thread() == m_socket->thread());
91 Q_ASSERT(thread() == QThread::currentThread());
9092 qint64 remaining = dataSize;
9193 while(remaining > 0)
9294 {