Skip Menu |

Subject: git commit

Dynamically expand timeout when TCP connects

Wait ten seconds for a TCP connection to succeed or fail before moving
on. During this wait time, other TCP connections will be serviced if
we already initiated them, but no new TCP connections will be created
and no UDP packets will be retransmitted.

[ minor adjustments; commit message]
Author: Nathaniel McCallum <>
Committer: Greg Hudson <>
Commit: f423c28a68e94e1aac2b40bb9902a017d2b0c83e
Branch: master
src/lib/krb5/os/sendto_kdc.c | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
I don't think this implementation takes effect when the TCP connect
returns 0 immediately (as opposed to EINPROGRESS). Probably not
important, but I'm noting it here for the record. If we switch to a
rule-based implementation of sendto_kdc as suggested in this
would be pretty easy to fix.