- Fix destination and source handler TransactionParams::reset only clearing 2 of ~11-18 fields. Stale state broke every transaction after the first one on a reused handler instance. - Fix metadata-only transactions (e.g. a Proxy Put Request) to correctly send and expect an EOF PDU per CCSDS 727.0-B-5 4.6.1.1.9. The source handler no longer checksums a nonexistent source file, and the destination handler no longer touches a destination file that was never named. - Fix a panic when a metadata PDU's Message To User TLVs overflow the destination handler's internal buffer. Return DestError::MsgsToUserBufferTooSmall instead, and bump the buffer from 1024 to 2048 bytes. - Add regression tests for all of the above. - Update the changelog. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012A4YswnSmvS9Y56WZAG9PQ
2.1 KiB
2.1 KiB
Change Log
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
unreleased
- Bumped
spacepacketsto v0.18
Fixed
- Destination handler's
TransactionParams::resetnow resets all fields instead of just two. The incomplete reset left stale acknowledged-mode state behind, so a new transaction's Metadata PDU was mistaken for a duplicate of an already-processed one and silently dropped, breaking every transfer after the first one on a given destination handler instance. - Source handler's
TransactionParams::resethad the same issue. A second transaction on the same source handler instance could compute its EOF checksum over stale state left behind by the first one. - Metadata-only transactions (e.g. a Proxy Put Request per CCSDS 727.0-B-5 6.1) now correctly send and expect an EOF (No error) PDU, as required by 4.6.1.1.9 case (C). The source handler no longer tries to checksum a source file that does not exist for this case, and the destination handler no longer tries to create or truncate a destination file that was never named.
- Destination handler no longer panics when a metadata PDU's Message To User TLVs overflow its
internal buffer. It now returns
DestError::MsgsToUserBufferTooSmallinstead, and the buffer was bumped from 1024 to 2048 bytes.
v0.3.0 2025-09-25
- Bumped
spacepacketsto v0.16 - Bumped
defmtto v1
Added
- Acknowledged mode support for both source and destination handler.
FaultInfostructure which is passed to user fault callbacks.
v0.2.0 2024-11-26
- Bumped
thiserrorto v2 - Bumped
spacepacketsto v0.13 - The source and destination handlers can now be used without the
stdfeature and only require theallocfeature.
[v0.1.0] 2024-09-11
Initial release