]> git.ipfire.org Git - thirdparty/krb5.git/commit
Apply TCP timeouts to HTTPS (KKDCP) transport 643/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 20 Apr 2017 19:33:10 +0000 (15:33 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 21 Apr 2017 20:57:03 +0000 (16:57 -0400)
commitaace82e17ed0185faa3e9cda5437a3c6a7a40b10
tree046cdf0c4ea49b7903e10b5da61eb8714a61afa6
parent89ce6420832858950271858e7c6e1a2eefebc683
Apply TCP timeouts to HTTPS (KKDCP) transport

We apply (as of ticket #7604) a ten-second minimum delay after a TCP
connection is accepted before creating new connections or sending UDP
packets.  Apply this timeout to HTTPS connections as well, by removing
the transport check in get_endtime().  As the endtime field is only
set by service_tcp_connect(), it will always have the value 0 for UDP
connection state objects, so there is no need to check the transport
type.

ticket: 8580
target_version: 1.15-next
target_version: 1.14-next
tags: pullup
src/lib/krb5/os/sendto_kdc.c