| 49 | } |
| 50 | |
| 51 | void QHttpServerPrivate::create() |
| 52 | { |
| 53 | TTK_Q(QHttpServer); |
| 54 | while(m_tcpServer->hasPendingConnections()) |
| 55 | { |
| 56 | QHttpConnection *connection = new QHttpConnection(m_tcpServer->nextPendingConnection(), q); |
| 57 | QObject::connect(connection, SIGNAL(newRequest(QHttpRequest*, QHttpResponse*)), q, SIGNAL(newRequest(QHttpRequest*, QHttpResponse*))); |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | void QHttpServerPrivate::close() |
| 62 | { |
no outgoing calls