Open whydee86 opened 1 year ago
Hello @whydee86 I have try and can not reproduce it.
And we do have a testing case to make sure it works, please refer to: https://github.com/likexian/whois/blob/master/whois_test.go#L117
If you think this repository is helpful, please share it with friends, thanks.
Hello @whydee86 Sorry, there is really an issue, the timeout of dailer is not updated. I will try to fixed it.
If you think this repository is helpful, please share it with friends, thanks.
Issue Description
The Whois client doesn't seem to respect the timeout settings when making queries. Despite setting the timeout via
SetTimeout()
, the client operation doesn't timeout as expected.Steps to Reproduce
SetTimeout()
method.Expected Behavior
The query should timeout after 5 seconds if the server does not respond.
Actual Behavior
The operation does not timeout even after 5 seconds.
Additional Information