meier/tcpFix #23

Merged
muellerr merged 2 commits from meier/tcpFix into eive/develop 2021-10-09 13:28:49 +02:00
Owner
  • TCP Server only parsed TCs in case of receive errors
  • when client closed connection, valid packets remained in ring buffer until next receive error occured
* TCP Server only parsed TCs in case of receive errors * when client closed connection, valid packets remained in ring buffer until next receive error occured
meierj added the
bug
label 2021-10-08 13:56:32 +02:00
muellerr was assigned by meierj 2021-10-08 13:56:32 +02:00
meierj added 2 commits 2021-10-08 13:56:33 +02:00
Owner

The socket call is made with a non-blocking flag, so TC is also read if the client does not send anything (to be precise, if the recv call would block).

It definitely still makes sense to read the packets when the client closes the connection

The socket call is made with a non-blocking flag, so TC is also read if the client does not send anything (to be precise, if the `recv` call would block). It definitely still makes sense to read the packets when the client closes the connection
muellerr approved these changes 2021-10-09 13:28:16 +02:00
muellerr merged commit b985bf5167 into eive/develop 2021-10-09 13:28:49 +02:00
muellerr deleted branch meier/tcpFix 2021-10-09 13:28:49 +02:00
Sign in to join this conversation.
No description provided.