Fix connection termination bug in sendto_kdc
authorGreg Hudson <ghudson@mit.edu>
Thu, 1 Sep 2011 03:36:29 +0000 (03:36 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 1 Sep 2011 03:36:29 +0000 (03:36 +0000)
commit279a040bf3bf98a81502410dd71ccdc630683233
tree69297b0d4f9b47dc965a238de8721982875ad91a
parent458c1bd81c13cd535a005406d3fa399e30b8c758
Fix connection termination bug in sendto_kdc

When terminating a connection, close and invalidate conn->fd so that
we don't look for it in selstate on the next select or poll
invocation.  Looking for such an fd is harmless when using select, but
results in an assertion failure when using poll.

ticket: 6951

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25120 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/os/sendto_kdc.c