]> the.earth.li Git - onak.git/commit
Actually close the socket in keyd/the keyd backend
authorJonathan McDowell <noodles@earth.li>
Tue, 15 Mar 2011 04:51:38 +0000 (04:51 +0000)
committerJonathan McDowell <noodles@earth.li>
Tue, 15 Mar 2011 04:51:38 +0000 (04:51 +0000)
commit9c96da2b288cebb53388ad4e30adbe9b87f67d91
treed4b6fe9ed573b0ac62c13df5d7c1bdc64451b3c9
parent677db9ffe0b9ea79bb52ffacc5ccb964e261093a
Actually close the socket in keyd/the keyd backend

  We were calling shutdown() on the socket, but this isn't sufficient -
  we need to call close() as well. Otherwise we end up leaking sockets
  and eventually keyd can no longer service requests.
keyd.c
keydb_keyd.c