| 1371 | } |
| 1372 | |
| 1373 | static bool runtime_worker_handle_close_intent(cbm_daemon_runtime_worker_t *worker, |
| 1374 | uint32_t length) { |
| 1375 | if (length != 0) { |
| 1376 | return false; |
| 1377 | } |
| 1378 | /* Terminal for the session (admission, coordinator registration, session |
| 1379 | * cancel), but not for the connection: the worker keeps reading so the |
| 1380 | * in-flight response tail and the eventual EOF unwind normally. */ |
| 1381 | runtime_worker_disconnect(worker); |
| 1382 | return true; |
| 1383 | } |
| 1384 | |
| 1385 | static bool runtime_worker_handle_disconnect(cbm_daemon_runtime_worker_t *worker, uint32_t length) { |
| 1386 | if (length != 0) { |
no test coverage detected