Changeset 9729 in ntrip


Ignore:
Timestamp:
May 20, 2022, 1:05:12 PM (6 weeks ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncuploadcaster.cpp

    r9728 r9729  
    230230  _outSocket->setProxy(QNetworkProxy::NoProxy);
    231231  _outSocket->setSslConfiguration(sslConfig);
    232  
     232
    233233  connect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
    234234  connect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
     
    263263            "Proxy: Connection broken for " + _mountpoint.toLatin1()
    264264                + ": " + ans.left(ans.length() - 2), true));
    265         //delete _outSocket;
    266         //_outSocket=0;
     265        _outSocket->close();
    267266        return;
    268267      } else {
     
    279278                  + QString("%1) ").arg(_casterOutPort).toLatin1()
    280279                  + _outSocket->errorString().toLatin1(), true));
    281           //delete _outSocket;
    282           //_outSocket=0;
    283280          return;
    284281        } else {
     
    312309
    313310  if (ans.indexOf("200") == -1) {
    314     //delete _outSocket;
    315     //_outSocket=0;
     311    _outSocket->close();
    316312    emit(newMessage(
    317313        "Broadcaster: Connection broken for " + _mountpoint.toLatin1() + ": "
Note: See TracChangeset for help on using the changeset viewer.