Changeset 6778 in ntrip for branches


Ignore:
Timestamp:
Apr 17, 2015, 10:49:02 AM (4 years ago)
Author:
stuerze
Message:

switch to port 443 for skeleton file download if https is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.11.0/src/bncrinex.cpp

    r5530 r6778  
    147147    QUrl url(sklDir + "/" + _mountPoint.path().mid(1,4).toLower() + ".skl");
    148148    if (url.port() == -1) {
    149       url.setPort(80);
     149        if (sklDir.contains("https")) {
     150          url.setPort(443);
     151        }
     152        else {
     153          url.setPort(80);
     154        }
    150155    }
    151156
Note: See TracChangeset for help on using the changeset viewer.