aboutsummaryrefslogtreecommitdiffstats
path: root/examples/osmux-test-output.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2024-03-15 14:14:46 +0100
committerlaforge <laforge@osmocom.org>2024-03-22 07:34:32 +0000
commit5fec34a9f20c3b8769373d1b28ae2062e5e2bdd6 (patch)
tree9f85a84d52a59c8870a081e1e5d353337fd4457d /examples/osmux-test-output.c
parented62d190b689403e1b68b43c3a4b7e97a971d00f (diff)
stream_cli.c: Handle read / recvfrom error and close connectionHEADmaster
If read or recvfrom fails or returns 0, the connection must be closed. This is already done when a write / send fails. In both cases the disconnect callback is called to notify the user's client. Not handling the error may cause an infinite loop of read or recvfrom failures. Related: OS#6405 Change-Id: I55426de6b49cb4cb0797e50dfeae11f2efc29b15
Diffstat (limited to 'examples/osmux-test-output.c')
0 files changed, 0 insertions, 0 deletions