diff --git a/lib/adapters/http.js b/lib/adapters/http.js index dfa6386d..6a8a05dd 100755 --- a/lib/adapters/http.js +++ b/lib/adapters/http.js @@ -268,7 +268,8 @@ const buildAddressEntry = (address, family) => resolveFamily(utils.isObject(addr const http2Transport = { request(options, cb) { - const authority = options.protocol + '//' + options.hostname + ':' + (options.port || 80); + const authority = options.protocol + '//' + options.hostname + ':' + (options.port ||(options.protocol === 'https:' ? 443 : 80)); + const {http2Options, headers} = options;