Changeset 3360 in ntrip
- Timestamp:
- Aug 22, 2011, 4:32:41 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncnetqueryv2.cpp
r3359 r3360 130 130 // --------------- 131 131 QNetworkRequest request; 132 request.setSslConfiguration(bncSslConfig::Instance()); 132 bncSslConfig sslConfig; 133 request.setSslConfiguration(sslConfig); 133 134 request.setUrl(_url); 134 135 request.setRawHeader("Host" , _url.host().toAscii()); -
trunk/BNC/bncsslconfig.h
r3357 r3360 8 8 class bncSslConfig : public QSslConfiguration { 9 9 public: 10 static bncSslConfig& Instance() { 11 static bncSslConfig _sslConfig; 12 return _sslConfig; 13 } 10 bncSslConfig(); 11 ~bncSslConfig(); 14 12 static QString defaultPath(); 15 13 private: 16 bncSslConfig();17 ~bncSslConfig();18 14 }; 19 15
Note:
See TracChangeset
for help on using the changeset viewer.