@@ -167,7 +167,7 @@ static void *server_worker(void* vArgs)
if (rxSz > 0) {
cli_getchar(cli_state, buf[0], true); // TODO handle rxSz > 1
- if (buf[0] == 3 || buf[0] == 4 || cli_state->state == STATE_CLOSE) {
+ if (buf[0] == 4 || cli_state->state == STATE_CLOSE) { // EOF
stop = 1;
}
} else {