]> git.ipfire.org Git - thirdparty/krb5.git/commit
Retry KCM writes once on remote hangup 863/head
authorRobbie Harwood <rharwood@redhat.com>
Tue, 16 Oct 2018 19:19:46 +0000 (15:19 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 26 Oct 2018 17:44:36 +0000 (13:44 -0400)
commit33634a940166d0b21c3105bab8dcf5550fbbd678
tree7cf436fa225fdd3b3ed3d22a272cbf2d7c048fa3
parente91359aead19f432e5fbc99054a793e983f58328
Retry KCM writes once on remote hangup

sssd's KCM daemon has a client timeout (typically 60 seconds).  Add
reconnection logic to kcmio_unix_socket_write() to allow this
behavior, and to potentially allow for the daemon to be upgraded.

[ghudson@mit.edu: adjusted commit message, comment, and code slightly]

ticket: 8760 (new)
src/lib/krb5/ccache/cc_kcm.c