Changeset 3332 in ntrip


Ignore:
Timestamp:
Jul 19, 2011, 4:03:35 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryv2.cpp

    r2012 r3332  
    135135  connect(_reply, SIGNAL(finished()), this, SLOT(slotFinished()));
    136136  connect(_reply, SIGNAL(finished()), _eventLoop, SLOT(quit()));
     137  connect(_reply, SIGNAL(sslErrors(QList<QSslError>)),
     138          this, SLOT(slotSslErrors(QList<QSslError>)));
    137139  if (!full) {
    138140    connect(_reply, SIGNAL(readyRead()), _eventLoop, SLOT(quit()));
     
    180182}
    181183
     184// TSL/SSL
     185////////////////////////////////////////////////////////////////////////////
     186void bncNetQueryV2::slotSslErrors(QList<QSslError>) {
     187
     188  std::cout << "slotSslErrors" << std::endl;
     189  _reply->ignoreSslErrors();
     190}
  • trunk/BNC/bncnetqueryv2.h

    r1716 r3332  
    1919  void slotFinished();
    2020  void slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*);
     21  void slotSslErrors(QList<QSslError>);
    2122
    2223 private:
Note: See TracChangeset for help on using the changeset viewer.