diff options
author | pjd <pjd@FreeBSD.org> | 2010-04-29 21:55:20 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-04-29 21:55:20 +0000 |
commit | 1f717ed2d0f18a2bfb45acde8630100453f6b8a3 (patch) | |
tree | e2629e559f7cef7e6482332d02cdfdd40c59cc5d /kerberos5 | |
parent | b520866979ef8cadf97e3db819b45046bc782c19 (diff) | |
download | FreeBSD-src-1f717ed2d0f18a2bfb45acde8630100453f6b8a3.zip FreeBSD-src-1f717ed2d0f18a2bfb45acde8630100453f6b8a3.tar.gz |
Default connection timeout is way too long. To make it shorter we have to
make socket non-blocking, connect() and if we get EINPROGRESS, we have to
wait using select(). Very complex, but I know no other way to define
connection timeout for a given socket.
Reported by: hiroshi@soupacific.com
MFC after: 3 days
Diffstat (limited to 'kerberos5')
0 files changed, 0 insertions, 0 deletions