commit | fe5c5678d10ec3d17d9a29641bd64a4304f8abb7 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Thu Aug 03 11:59:48 2023 +0200 |
committer | Hannes Reinecke <hare@suse.de> | Thu Aug 03 11:59:48 2023 +0200 |
tree | 3b5f00099e5945bb85024b4cc50f6afccff411ef | |
parent | 47df9f4d612e0bee95cf71ba5b90dd3fcc2c52c1 [diff] |
net/tls: avoid TCP window full during ->read_sock() When flushing the backlog after decoding each record in ->read_sock() we may end up with really long records, causing a TCP window full as the TCP window would only be increased again after we process the record. So we should rather process the record first to allow the TCP window to be increased again before flushing the backlog. Signed-off-by: Hannes Reinecke <hare@suse.de>