diff options
author | Edoardo La Greca | 2025-08-07 14:54:11 +0200 |
---|---|---|
committer | Edoardo La Greca | 2025-08-07 14:54:11 +0200 |
commit | eb7efa3b67257b16893224736fc6cf932fe7ae0f (patch) | |
tree | a63af05a0b760595df99a6918e79291ec97bc61e | |
parent | 76ccef2cb3fbe8c991f3db6632e99598983e313b (diff) |
add missing write calls in OutMessage objects
-rw-r--r-- | src/main/kotlin/Connection.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/Connection.kt b/src/main/kotlin/Connection.kt index b916d1b..b308402 100644 --- a/src/main/kotlin/Connection.kt +++ b/src/main/kotlin/Connection.kt @@ -83,6 +83,7 @@ class Connection(transLay: TransportLayer) : ProtocolTranslator { emptyMap(), this.maxSize ) + omsg.write(this.tl) val imsg: InMessage try { imsg = InMessage(this.tl, msize, omsg.tag) @@ -140,6 +141,7 @@ class Connection(transLay: TransportLayer) : ProtocolTranslator { emptyMap(), this.maxSize ) + omsg.write(this.tl) val checkErr = checkedInMessage(omsg.tag) if (checkErr.first != null) { return Pair(checkErr.first, emptyArray()) @@ -165,6 +167,7 @@ class Connection(transLay: TransportLayer) : ProtocolTranslator { ), this.maxSize ) + omsg.write(this.tl) val checkErr = checkedInMessage(omsg.tag) if (checkErr.first != null) { return Pair(checkErr.first, 0u) |