Join GitHub today
http_renderer: it dies with signal SIGPIPE when the other end breaks the connection #48
send calls in the http renderer should use the MSG_NOSIGNAL flag to avoid the SIGPIPE signal when the other ends breaks the connection. Still will need to check for EPIPE error, but this will be a non-fatal one, and the listener will simply be removed from the internal structures.
For details on MSG_NOSIGNAL:
Program received signal SIGPIPE, Broken pipe.