]> granicus.if.org Git - libevent/commit
Test case for 0848814ac49616
authorKevin Ko <kevin.s.ko@gmail.com>
Mon, 23 May 2011 05:40:05 +0000 (01:40 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 23 May 2011 05:40:05 +0000 (01:40 -0400)
commit57ddda7845d36fce2ebe7131f6b7e98e85a576f5
treeac7a1a996c49141316a78948d86e07bb89f11903
parent0848814ac496167133bec5f8d564387b5111440f
Test case for 0848814ac49616

 "I'm not sure if you'll like my use of the limited broadcast address
  for simulating an ENETUNREACH error with a TCP connection, but it's
  the best that I could think of.  Basically, we want to trigger a
  non-EINPROGRESS error in evutil_socket_connect() immediately at the
  connect() in order to bring about the assertion in the
  evhttp_connection_fail() error handling code."
test/regress_http.c