From: | ghudson@mit.edu |
Subject: | git commit |
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@mit.edu: minor wording edits]
https://github.com/krb5/krb5/commit/25e0656fdf9862faf9aa91288023776e9a47caad
Author: Nathaniel McCallum <npmccallum@redhat.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 25e0656fdf9862faf9aa91288023776e9a47caad
Branch: master
src/include/krad.h | 3 ++-
src/lib/krad/remote.c | 3 +++
2 files changed, 5 insertions(+), 1 deletions(-)