Changeset 9737 in ntrip for trunk/BNC/src/upload


Ignore:
Timestamp:
May 30, 2022, 3:17:22 PM (2 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r9736 r9737  
    254254      _outSocket->waitForBytesWritten();
    255255      _outSocket->waitForReadyRead();
     256
    256257      QByteArray ans = _outSocket->readAll();      //cout << ans.toStdString().c_str() << endl;
    257258      if (ans.indexOf("200") == -1) {
     
    294295  _outSocket->waitForReadyRead();
    295296
    296    QByteArray ans = "";
    297   if (_outSocket->canReadLine()) {
    298     ans = _outSocket->readLine();  //cout << "ans: " << ans.toStdString().c_str() << endl;
    299   }
     297   QByteArray ans = _outSocket->readAll();  //cout << "ans: " << ans.toStdString().c_str() << endl;
    300298
    301299  if (ans.indexOf("200") == -1) {
     
    341339
    342340void bncUploadCaster::slotSslSocketConnectionClosed() {
     341  disconnect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
     342  disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
    343343  emit(newMessage("slotSslSocketConnectionClosed", true));
    344344  if (_outSocket) {
Note: See TracChangeset for help on using the changeset viewer.