Changeset 1816 in ntrip


Ignore:
Timestamp:
Apr 28, 2009, 11:00:06 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r1815 r1816  
    506506        _nextSleep = 256;
    507507      }
     508#ifdef MLS_SOFTWARE
     509      if (_nextSleep > 10) {
     510        _nextSleep = 10;
     511      }
     512#endif
    508513    }
    509514
  • trunk/BNC/bncnetquery.h

    r1813 r1816  
    1010
    1111 public:
    12   enum queryStatus {init, running, finished, error, fatal};
     12  enum queryStatus {init, running, finished, error};
    1313
    1414  bncNetQuery() {
  • trunk/BNC/bncnetqueryv1.cpp

    r1813 r1816  
    5757////////////////////////////////////////////////////////////////////////////
    5858void bncNetQueryV1::waitForReadyRead(QByteArray& outData) {
    59 
    60   if (_status == bncNetQuery::fatal) {
    61     return;
    62   }
    63 
    6459  if (_socket && _socket->state() == QAbstractSocket::ConnectedState) {
    6560    while (true) {
     
    8883////////////////////////////////////////////////////////////////////////////
    8984void bncNetQueryV1::startRequest(const QUrl& url, const QByteArray& gga) {
    90 
    91   if (_status == bncNetQuery::fatal) {
    92     return;
    93   }
    9485
    9586  _status = running;
     
    221212    delete _socket;
    222213    _socket = 0;
    223     _status = fatal;
     214    _status = error;
    224215    emit newMessage(_url.path().toAscii().replace(0,1,"")
    225216                    + ": Wrong caster response\n"
Note: See TracChangeset for help on using the changeset viewer.