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

Allow configurable timeout for DNS lookups. #8

Closed
atheken opened this issue Apr 28, 2016 · 1 comment
Closed

Allow configurable timeout for DNS lookups. #8

atheken opened this issue Apr 28, 2016 · 1 comment

Comments

@atheken
Copy link
Contributor

atheken commented Apr 28, 2016

Investigate options for allowing longer DNS lookup windows.

From user report:

"I looked at the result of the $response request in postmark.../wp-mail.php and got this error:

wp-error - http request error - name lookup timed out.

It appears my dns was a bit slow. So I looked up the docs of the wp_remote_post function and added a timeout option to the $args array and that fixed it."

@mgibbs189
Copy link
Contributor

@atheken The WP_Http library already has hooks to control timeouts. I don't think this warrants its own UI settings since it's an edge case.

E.g. the http_request_args and http_request_timeout filters

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

No branches or pull requests

2 participants