• Show log

    Commit

  • Hash : f89168e7
    Author : Nick Mathewson
    Date : 2010-05-08T19:11:50

    Make test for bufferevent_connect_hostname system-neutral
    
    Previously, the be5_outcome field for the dns error would be set to
    something dependent on our system resolver.  It turns out that you
    can't rely on nameservers to really give you an NEXIST answer for
    xyz.example.com nowadays: too many of them are annoyingly broken and
    like to redirect you to their locked-in portals.  This patch changes
    the bufferevent_connect_hostname test so that it makes sure that the
    dns_error of be5_outcome is "whatever you would get from resolving
    the target hostname"