Change-Id: I7132b8c9b15f625345ef092be3bc0ea466a12f8e
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
{
if (m_secureMode == SecureMode)
qobject_cast<QSslServer *>(m_pTcpServer)->setSslConfiguration(sslConfiguration);
- else
- qWarning() << tr("Cannot set SSL configuration for non-secure server.");
}
QSslConfiguration QWebSocketServerPrivate::sslConfiguration() const
if (m_pendingConnections.length() >= maxPendingConnections()) {
pTcpSocket->close();
- qWarning() <<
- tr("Too many pending connections: new websocket connection not accepted.");
setError(QWebSocketProtocol::CloseCodeAbnormalDisconnection,
tr("Too many pending connections."));
return;