Skip to content

Commit

Permalink
Merge remote-tracking branch 'gitee/myself'
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Sep 30, 2024
2 parents 54364c2 + d6f550c commit 32f71e7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ module.exports = function createRequestHandler (createIntercepts, middlewares, e
// log.debug('rOptions:', rOptions.hostname + rOptions.path, '\r\n', rOptions)
// log.debug('agent:', rOptions.agent)
// log.debug('agent.options:', rOptions.agent.options)
res.setHeader('DS-Proxy-Request', rOptions.hostname)
proxyReq = (rOptions.protocol === 'https:' ? https : http).request(rOptions, (proxyRes) => {
const cost = new Date() - start
if (rOptions.protocol === 'https:') {
Expand Down

0 comments on commit 32f71e7

Please sign in to comment.