Fix incorrect order data was written by TcpTransport #215

Merged
lars.winzer merged 1 commits from fix/28-incomplete-transmission-of-response into main 2026-03-31 12:12:58 +02:00
lars.winzer commented 2026-03-31 12:11:55 +02:00 (Migrated from git.scicore.unibas.ch)

Out specification for the data is as follows

  1. Payload size (4 byte)
  2. Request ID generated by the client and not used by the server (4 byte)
  3. Payload itself of size specified in the first 4 byte

I got things mixed up and 1 and 2 were reversed for the write function.

Fixed the incorrect order was written to the DataOutputStream.

Closes #28

Out specification for the data is as follows 1. Payload size (4 byte) 2. Request ID generated by the client and not used by the server (4 byte) 3. Payload itself of size specified in the first 4 byte I got things mixed up and 1 and 2 were reversed for the `write` function. Fixed the incorrect order was written to the DataOutputStream. Closes #28
lars.winzer commented 2026-03-31 12:12:05 +02:00 (Migrated from git.scicore.unibas.ch)

changed the description

changed the description
lars.winzer (Migrated from git.scicore.unibas.ch) scheduled this pull request to auto merge when all checks succeed 2026-03-31 12:12:54 +02:00
lars.winzer commented 2026-03-31 12:12:58 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 238cf937f4

mentioned in commit 238cf937f4851455ecc4a53f5a9971423de98667
lars.winzer (Migrated from git.scicore.unibas.ch) merged commit 238cf937f4 into main 2026-03-31 12:12:58 +02:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#215