Committed, thanks! Note: The patch didn't apply cleanly. There's been the following commit in the meantime, which probably is of interest for FreeBSD, too (there were corresponding changes in the imsg consumers on the same day).
revision 1.12 date: 2015/12/05 13:06:52; author: claudio; state: Exp; lines: +4 -6; commitid: bO7nv9h60CrvWdTu; Do not loop on EAGAIN in imsg_read(). Better to return the error to the caller and let him do another poll loop. This fixes spinning relayd processes seen on busy TLS relays. OK benno@ henning@