drop some debug prints

This commit is contained in:
Michael Zanetti 2017-09-03 23:23:37 +02:00
parent 44dd07950b
commit ec7c515745
3 changed files with 0 additions and 6 deletions

View File

@ -327,7 +327,6 @@ JsonReply *ConfigurationHandler::DeleteTcpServerConfiguration(const QVariantMap
JsonReply *ConfigurationHandler::SetWebServerConfiguration(const QVariantMap &params) const
{
qWarning() << params;
WebServerConfiguration config = JsonTypes::unpackWebServerConfiguration(params.value("configuration").toMap());
if (config.id.isEmpty()) {

View File

@ -106,7 +106,6 @@ ServerManager::ServerManager(GuhConfiguration* configuration, QObject *parent) :
#endif
foreach (const ServerConfiguration &config, configuration->webSocketServerConfigurations()) {
qWarning() << "Have websockeserver config" << config.id;
WebSocketServer *webSocketServer = new WebSocketServer(config, m_sslConfiguration, this);
m_jsonServer->registerTransportInterface(webSocketServer, config.authenticationEnabled);
m_webSocketServers.insert(config.id, webSocketServer);

View File

@ -50,7 +50,6 @@ TcpServer::TcpServer(const ServerConfiguration &configuration, const QSslConfigu
m_server(NULL),
m_sslConfig(sslConfiguration)
{
qWarning() << "****" << configuration.address << configuration.port;
#ifndef TESTING_ENABLED
m_avahiService = new QtAvahiService(this);
connect(m_avahiService, &QtAvahiService::serviceStateChanged, this, &TcpServer::onAvahiServiceStateChanged);
@ -78,7 +77,6 @@ void TcpServer::sendData(const QUuid &clientId, const QByteArray &data)
QTcpSocket *client = 0;
client = m_clientList.value(clientId);
if (client) {
qWarning() << "send data:" << data;
client->write(data);
}
}
@ -153,7 +151,6 @@ bool TcpServer::startServer()
m_server = NULL;
return false;
}
qWarning() << "tcp listening";
#ifndef TESTING_ENABLED
// Note: reversed order
@ -195,7 +192,6 @@ bool TcpServer::stopServer()
void SslServer::incomingConnection(qintptr socketDescriptor)
{
qWarning() << "incoming";
QSslSocket *sslSocket = new QSslSocket(this);
connect(sslSocket, &QSslSocket::encrypted, [this, sslSocket](){ emit clientConnected(sslSocket); });