Changeset 9737 in ntrip for trunk/BNC/src/upload
- Timestamp:
- May 30, 2022, 3:17:22 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncuploadcaster.cpp
r9736 r9737 254 254 _outSocket->waitForBytesWritten(); 255 255 _outSocket->waitForReadyRead(); 256 256 257 QByteArray ans = _outSocket->readAll(); //cout << ans.toStdString().c_str() << endl; 257 258 if (ans.indexOf("200") == -1) { … … 294 295 _outSocket->waitForReadyRead(); 295 296 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; 300 298 301 299 if (ans.indexOf("200") == -1) { … … 341 339 342 340 void bncUploadCaster::slotSslSocketConnectionClosed() { 341 disconnect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed())); 342 disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>))); 343 343 emit(newMessage("slotSslSocketConnectionClosed", true)); 344 344 if (_outSocket) {
Note:
See TracChangeset
for help on using the changeset viewer.