Open kalpeshmantri opened 1 month ago
Is it possible to add atimeout in whois API, something like:
# Set a 3-second timeout for the WHOIS request whois.whois(domain, timeout=3)
I currently use socket.setdefaulttimeout(3) to set a global timeout for all socket connections, but it affects all system processes that use sockets.
socket.setdefaulttimeout(3)
Thank you for consideration !
Good idea - a PR to support this would be very welcome
Is it possible to add atimeout in whois API, something like:
I currently use
socket.setdefaulttimeout(3)
to set a global timeout for all socket connections, but it affects all system processes that use sockets.Thank you for consideration !