Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 17 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ socket2 = "0.6.0"

[dev-dependencies]
rstest = "0.26.1"
rstest-bdd = "0.4.0"
rstest-bdd-macros = { version = "0.4.0", features = ["strict-compile-time-validation"] }
rstest-bdd = "0.5.0"
rstest-bdd-macros = { version = "0.5.0", features = ["strict-compile-time-validation"] }
wireframe = { path = ".", features = ["test-helpers"] }
wireframe_testing = { path = "./wireframe_testing" }
logtest = "2.0.0"
Expand Down
12 changes: 12 additions & 0 deletions docs/adr-002-streaming-requests-and-shared-message-assembly.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@ sequenceDiagram
end
```

#### Implementation decisions (2026-02-12)

- The inbound integration seam for this ADR is `src/app/connection.rs` and
`src/app/frame_handling/`, not `src/connection/`, because inbound decode and
dispatch already occur in the app-layer connection loop.
- Message-assembly parsing, length, and continuity violations are treated as
inbound deserialization failures and therefore use the same threshold-based
invalid-data policy as other malformed inbound input.
- Idle timeout ticks purge expired entries from both transport fragmentation
and message-assembly state, so stale partial assemblies do not linger across
long-lived connections.

At a minimum, the hook must allow a protocol to provide:

- a per-frame header parser (including “first frame” versus “continuation
Expand Down
Loading
Loading