K 10 svn:author V 3 jhb K 8 svn:date V 27 2018-03-14T20:49:51.828559Z K 7 svn:log V 376 Fix the check for an empty send socket buffer on a TOE TLS socket. Compare sbavail() with the cached sb_off of already-sent data instead of always comparing with zero. This will correctly close the connection and send the FIN if the socket buffer contains some previously-sent data but no unsent data. Reported by: Harsh Jain @ Chelsio Sponsored by: Chelsio Communications END