libei/test
Peter Hutterer 9b390f5703 eis: don't send a disconnected event when the client requests disconnect
As the protocol spec says, EIS should treat this as already disconnected
and not touch the connection.

This fixes a memleak if a client connects and immediately disconnects -
when EIS processes the EIS_EVENT_CLIENT_CONNECT it may set up a bunch of
things like seats (the eis-demo-server does this). Then, later, when
the EIS_EVENTE_CLIENT_DISCONNECT is processed, it calls
eis_client_disconnect() but we were already in the disconnected state
and the seats would not get released.
2023-03-03 11:27:01 +10:00
..
templates test: drop a bunch of unused imports 2023-02-15 08:20:01 +10:00
buildtest.c Purge libreis from the repo 2023-02-09 11:48:28 +10:00
buildtest.cc Add C++ header guards 2020-09-29 17:30:49 +10:00
eierpecken.c Remove the public API to query the client version number 2023-02-13 13:55:44 +10:00
eierpecken.h Add a sequence number to START_EMULATING 2023-02-09 11:48:29 +10:00
eiproto.py.tmpl proto: split up message length and opcode again 2023-03-03 11:27:01 +10:00
meson.build test: add a framework for doing protocol tests directly 2023-03-03 11:27:01 +10:00
test-ei-device.c test: set the minimum bits for our test devices 2023-02-20 15:43:22 +10:00
test-ei-seat.c test: rename the ei AUTOCONNECT behavior to HANDLE_CONNECT 2022-08-01 11:26:32 +10:00
test-ei.c Purge the properties from the protocol 2023-02-09 11:48:29 +10:00
test-eis.c Remove the public API to query the client version number 2023-02-13 13:55:44 +10:00
test-main.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
test_oeffis.py Format python files with black 2023-02-01 11:48:53 +10:00
test_protocol.py eis: don't send a disconnected event when the client requests disconnect 2023-03-03 11:27:01 +10:00
unit-tests.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00