Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(dns): fixed cacheable-lookup integration; (#5836)
  • Loading branch information
DigitalBrainJS committed Aug 26, 2023
1 parent 8fda276 commit b3e327d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/adapters/http.js
Expand Up @@ -391,11 +391,13 @@ export default isHttpAdapterSupported && function httpAdapter(config) {
auth,
protocol,
family,
lookup,
beforeRedirect: dispatchBeforeRedirect,
beforeRedirects: {}
};

// cacheable-lookup integration hotfix
!utils.isUndefined(lookup) && (options.lookup = lookup);

if (config.socketPath) {
options.socketPath = config.socketPath;
} else {
Expand Down

0 comments on commit b3e327d

Please sign in to comment.