on a TCP stream. (We don't currently, ever, and we probably should
eventually, but sometimes closing the connection is required.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18234
dc483132-0cff-0310-8789-
dd5450dbe970
}
if (conn->u.tcp.sgnum == 0) {
/* finished sending */
- /* should go back to reading */
+ /* We should go back to reading, though if we sent a
+ FIELD_TOOLONG error in reply to a length with the high
+ bit set, RFC 4120 says we have to close the TCP
+ stream. */
goto kill_tcp_connection;
}
} else if (selflags & SSF_READ) {