This project is closed and read-only.
Bug #911 ยป fix_resolv_timeout.patch
| lib/resolv.rb (working copy) | ||
|---|---|---|
|
while (now = Time.now) < timelimit
|
||
|
timeout = timelimit - now
|
||
|
if !IO.select([@sock], nil, nil, timeout)
|
||
|
raise ResolvTimeout
|
||
|
raise ResolvTimeout, "timed out while resolving the address"
|
||
|
end
|
||
|
reply, from = recv_reply
|
||
|
begin
|
||