Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 lbdns UDP requests fail because of option binary

open
Geoff Wong
None
5
2001-01-12
2001-01-05
Samuel Tardieu
No

lbdns fails with the latest OTP release because the binary option
has been used. Binaries cannot match [A, B | T] constructs.

I suggest dropping binary from dns_udp.erl, and also remove
conversions from/to lists from dns_query.erl as a first patch.

However, I'm convinced that there is a bug in prim_inet:recvfrom0
in OTP, because an UDP socket in binary mode will return a binary
from which the IP address is not removed.

Discussion

  • Geoff Wong
    Geoff Wong
    2001-01-12

    • assigned_to: nobody --> dredd