fixed a internet card error

This commit is contained in:
Robert MacRae
2025-08-10 19:52:35 -03:00
parent 3b5fc74feb
commit 4a5b0bbb30
2 changed files with 7 additions and 3 deletions

View File

@@ -30,8 +30,8 @@ pr_version = 4.19.0-beta+3
ccl_version = 4.4.0.+
cbm_version = 3.3.0.+
network_lib_version = 1.0.3
sedna_version = 1.0.62
sedna_version_commit_ref = 5d8f6d6
sedna_version = 1.0.61
sedna_version_commit_ref = 68cb216
# Debug Options
debug_embeddium = false

View File

@@ -101,7 +101,11 @@ public class StreamSessionImpl extends SessionBase implements StreamSession {
state = switch (state) {
case ESTABLISHED -> TcpStates.FINISH;
case CONNECT -> TcpStates.REJECT;
default -> throw new IllegalStateException();
case FINISH, REJECT, EXPIRED -> state; // Already closing or closed
case ACCEPT -> {
LOGGER.warn("Closing session in ACCEPT state, forcing to REJECT");
yield TcpStates.REJECT;
}
};
}