Changeset 3360 in ntrip


Ignore:
Timestamp:
Aug 22, 2011, 4:32:41 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryv2.cpp

    r3359 r3360  
    130130  // ---------------
    131131  QNetworkRequest request;
    132   request.setSslConfiguration(bncSslConfig::Instance());
     132  bncSslConfig sslConfig;
     133  request.setSslConfiguration(sslConfig);
    133134  request.setUrl(_url);
    134135  request.setRawHeader("Host"         , _url.host().toAscii());
  • trunk/BNC/bncsslconfig.h

    r3357 r3360  
    88class bncSslConfig : public QSslConfiguration {
    99 public:
    10   static bncSslConfig& Instance() {
    11     static bncSslConfig _sslConfig;
    12     return _sslConfig;
    13   }
     10  bncSslConfig();
     11  ~bncSslConfig();
    1412  static QString defaultPath();
    1513 private:
    16   bncSslConfig();
    17   ~bncSslConfig();
    1814};
    1915
Note: See TracChangeset for help on using the changeset viewer.