[erlang-bugs] Bug in the resolver?
Evgeniy Khramtsov
xramtsov@REDACTED
Tue Apr 12 13:13:10 CEST 2011
12.04.2011 20:30, Raimo Niskanen wrote:
>
> You must have called inet_res:getbyname(Name, Type, infinity),
> and that was apparently not tested. The functions that calculate
> the remaining time for do_udp_recv/5 are not written for a timeout of
> 'infinity' and crash for the subtraction of Now - 'undefined'.
>
Strange. There is inet_res:getbyname(String, srv, 10000) actually.
--
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram@REDACTED
More information about the erlang-bugs
mailing list