]> the.earth.li Git - onak.git/commitdiff
Make keyd more robust in the face of socket errors
authorJonathan McDowell <noodles@earth.li>
Mon, 6 Jan 2014 19:48:59 +0000 (11:48 -0800)
committerJonathan McDowell <noodles@earth.li>
Mon, 6 Jan 2014 19:48:59 +0000 (11:48 -0800)
We were mostly ignoring errors back from reads or writes to the keyd
socket. Check that we've read/written as many bytes as we expect and
pull some of this out to common functions for sending keys/replies.


No differences found