Nick Mathewson - 2012-07-23

Your best workaround here is probably to set SIG_IGN on the sigpipe signal.

Also, please have a look at Mark Ellzey's libevhtp library -- it is meant to be the successor to evhttp, and it is already, for many users, a better replacement.