[krbdev.mit.edu #8307] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Dec 9 15:26:50 EST 2015


Do not allow stream socket retries in libkrad

Before this patch, libkrad would follow the same exact logic for all
socket types when the retries parameter was non-zero.  This meant that
when connecting with SOCK_STREAM, multiple requests were sent in case
of packet drops, which, of course, cannot happen for SOCK_STREAM.

Instead, just disable retries for SOCK_STREAM sockets.

[ghudson at mit.edu: minor wording edits]

(cherry picked from commit 25e0656fdf9862faf9aa91288023776e9a47caad)

https://github.com/krb5/krb5/commit/c91e1cef4b4cdfd27c8f5a144b603202c9d8946e
Author: Nathaniel McCallum <npmccallum at redhat.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: c91e1cef4b4cdfd27c8f5a144b603202c9d8946e
Branch: krb5-1.12
 src/include/krad.h    |    3 ++-
 src/lib/krad/remote.c |    3 +++
 2 files changed, 5 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list