Use newConnection not incommingConnection to handle new connections

BUG: 554
This commit is contained in:
craig.p.drummond
2014-10-04 08:44:44 +00:00
committed by craig.p.drummond
parent 70974b8806
commit e383546083
2 changed files with 9 additions and 6 deletions

View File

@@ -41,7 +41,6 @@ public:
HttpSocket(const QString &iface, quint16 port);
virtual ~HttpSocket() { }
void incomingConnection(int socket);
QString address() const { return ifaceAddress; }
QString configuredInterface() { return cfgInterface; }
QString urlAddress() const { return urlAddr; }
@@ -56,6 +55,7 @@ private:
void sendErrorResponse(QTcpSocket *socket, int code);
private Q_SLOTS:
void handleNewConnection();
void readClient();
void discardClient();
void cantataStreams(const QStringList &files);