/ Check-in [b5b15dc6a5]
DEMO | DOWNLOAD | DEPLOY | SEARCH
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Wget: change https port to 443
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b5b15dc6a521889b41f380fb7459ce88b76eb38d
User & Date: pmacdona 2019-05-02 17:00:00
Context
2019-05-06
13:45
Allow changing subOpts:dblPrec check-in: 2f209a4541 user: pmacdona tags: trunk
2019-05-02
17:00
Wget: change https port to 443 check-in: b5b15dc6a5 user: pmacdona tags: trunk
2019-05-01
00:01
Add missing semi check-in: c2c4f88703 user: pmacdona tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to lib/Jsi_Wget.jsi.

102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
        if (self.headers.length)
            wsopts.headers = self.headers;
        if (self.scheme === 'https') {
            if (!Interp.conf('hasOpenSSL'))
                puts('SSL is not compiled in: falling back to http:');
            else {
                if (self.port === 80)
                    wsopts.port = 441;
                wsopts.use_ssl = true;
            }
        }
        LogDebug("Starting:", conf, wsopts);
        self.ws = new WebSocket( wsopts );
        if (self.nowait)
            return self;







|







102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
        if (self.headers.length)
            wsopts.headers = self.headers;
        if (self.scheme === 'https') {
            if (!Interp.conf('hasOpenSSL'))
                puts('SSL is not compiled in: falling back to http:');
            else {
                if (self.port === 80)
                    wsopts.port = 443;
                wsopts.use_ssl = true;
            }
        }
        LogDebug("Starting:", conf, wsopts);
        self.ws = new WebSocket( wsopts );
        if (self.nowait)
            return self;