amphp / dns

Async DNS resolution for PHP based on Amp.
https://amphp.org/dns
MIT License
157 stars 32 forks source link

Fix a couple of E_NOTICE errors on missing array indices #7

Closed rdlowrey closed 10 years ago

rdlowrey commented 10 years ago

Ran into the E_NOTICE errors doing Artax testing.

Since the Resolver is where Artax interacts with Addr to do DNS things I also added an option setter there to pass request timeout settings through to the underlying client.

Please let me know if you have questions or issues.