]> granicus.if.org Git - libevent/commit
Make the new http_connect_fail_test use a multicast addr, not broadcast
authorNick Mathewson <nickm@torproject.org>
Sat, 28 May 2011 03:28:17 +0000 (23:28 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 28 May 2011 03:30:06 +0000 (23:30 -0400)
commitf47c15e7bac217f0b0282a6e535f03f26e1e9d9d
treef14269a037e171ca7cac55810e500b59cb12fe95
parent816115a17ef5ce6148cf45389ddf8e8a327f206b
Make the new http_connect_fail_test use a multicast addr, not broadcast

Turns out that FreeBSD does _not_ give a ENETUNREACH error when
told to make a TCP socket to 255.255.255.255, but it is quite happy
to do so for 239.10.20.30.  So that's what we'll do.

Found by Robert Ransom and Dave Hart.
test/regress_http.c