John Baldwin 6b02bb1aa7 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
2018-03-14 20:49:51 +00:00
..
2017-09-14 15:34:45 +00:00
2018-03-08 19:24:10 +00:00
2018-01-10 20:05:19 +00:00
2017-11-09 13:38:17 +00:00
2017-12-30 19:27:22 +00:00
2018-01-17 11:44:21 +00:00
2018-03-14 18:27:06 +00:00
2018-03-08 22:04:54 +00:00
2017-11-30 20:33:45 +00:00
2017-11-30 20:33:45 +00:00
2018-03-14 16:44:50 +00:00
2017-10-21 07:23:45 +00:00
2017-11-30 20:33:45 +00:00
2017-12-29 00:59:56 +00:00
2018-02-19 19:31:18 +00:00
2018-01-03 00:56:30 +00:00
2018-01-13 16:31:07 +00:00
2017-07-01 05:35:29 +00:00