Dear nick,
I am looking into the ipv6 support in libevent. I checked there is already support for ipv6 in libevent. I found that API evutil_ersatz_socketpair_ in evutil.c does not have the ipv6 support.
I have added a patch for this evutil API : evutil_ersatz_socketpair_ to support ipv6
Please check the patch pull request at git hub.
https://github.com/libevent/libevent/pull/137/files
I request you to review this patch and give your review comments.
I tested this patch using regress tests with some modification in regress_et.c
Thanks & Regards,
Kuldeep Gupta
Adding modified regress_et.c for testing ipv6 in evutil_ersatz_socketpair_
Adding evutil.c (original) source and patched file evutil-patch.c (modifed) source code.