[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue in the outbound local mx check introduced in #3002 #3010

Merged
merged 8 commits into from
Jan 6, 2022
Merged

Fixes issue in the outbound local mx check introduced in #3002 #3010

merged 8 commits into from
Jan 6, 2022

Conversation

DoobleD
Copy link
Contributor
@DoobleD DoobleD commented Jan 2, 2022

Fixes #3002 (comment).

Changes proposed in this pull request:

  • make process_dns async
  • use await in front of is_local_host

Requires haraka/haraka-net-utils#65 to be merged, as that PR refactors is_local_host to use promises.

Alternatively it should be possible to use callbacks only, but it seems to me the code is much simpler using promises.

Checklist:

  • docs updated
  • tests updated
  • Changes updated

@lgtm-com
Copy link
lgtm-com bot commented Jan 2, 2022

This pull request introduces 4 alerts when merging ea9398f into 786daac - view on LGTM.com

new alerts:

  • 2 for Useless conditional
  • 2 for Missing await

@DoobleD
Copy link
Contributor Author
DoobleD commented Jan 2, 2022

This pull request introduces 4 alerts when merging ea9398f into 786daac - view on LGTM.com

new alerts:

  • 2 for Useless conditional
  • 2 for Missing await

Fixed.

@DoobleD DoobleD changed the title Fixes the bug in the outbound local mx check introduced in #3002 Fixes issue in the outbound local mx check introduced in #3002 Jan 2, 2022
package.json Outdated Show resolved Hide resolved
@msimerson msimerson merged commit 4afc7b1 into haraka:master Jan 6, 2022
@msimerson msimerson mentioned this pull request Jun 4, 2022
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants