Commit Graph
46 Commits
Author SHA1 Message Date
muellerr e394591bb1 Merge pull request 'Fix for destination handler EOF handling' (#22) from fix/duplicate-eof-pdu-not-acknowledged into main
Reviewed-on: #22
2026-09-14 11:34:59 +02:00
Robin Mueller b74893f6c7 Fix for destination handler EOF handling
Destination handler now answers a retransmitted EOF PDU instead of silently reprocessing it.
Per CFDP 4.7.2 every EOF PDU must be acknowledged, and a retransmission means our previous ACK
was lost. It used to be handled like a brand new EOF regardless of transaction state, which
re-ran completion, re-sent a fresh Finished PDU, and restarted its positive ACK procedure on
every retransmission the sender made.
2026-09-14 11:32:14 +02:00
muellerr 6a1f1202b8 Merge pull request 'Bugfix for lost segment handling' (#21) from fix/lost-segment-refill-gap into main
Reviewed-on: #21
2026-09-14 11:20:19 +02:00
Robin Mueller ad71c032f7 Bugfix for lost segment handling
- The lost segment handling now clears a gap that a re-transmission re-fills
  exactly
2026-09-14 11:16:32 +02:00
muellerr e112f8ae21 Merge pull request 'metadata only bugfixes' (#20) from metadata-only-bugfix into main
Reviewed-on: #20
2026-09-08 19:26:06 +02:00
Robin MuellerandClaude Sonnet 5 ea7898937f Fix metadata-only transaction handling and reset bugs
- 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
2026-09-08 19:08:40 +02:00
muellerr 9ac3cc90ca Merge pull request 'Clean up fallout from the TransactionParams::reset fix' (#19) from destinatination-handler-cleanup-fix into main
Reviewed-on: #19
2026-09-08 14:35:23 +02:00
Robin Mueller 624145fa3d Clean up fallout from the TransactionParams::reset fix
- Remove FinishedParams::reset, now dead code since
  TransactionParams::reset does a full struct reset instead of
  calling it
- Drop the transaction_id() comparison from the two completion
  indication test helpers. transaction_id() now correctly returns
  None once the handler is back to Idle, so comparing it against the
  finished indication's id after completion no longer holds. The
  remaining file_status/delivery_code/condition_code checks are the
  ones that actually mattered.
2026-09-08 14:34:27 +02:00
muellerr 1a8ff21a51 Merge pull request 'cleanup fix for destination handler' (#18) from destinatination-handler-cleanup-fix into main
Reviewed-on: #18
2026-09-08 14:27:02 +02:00
Robin Mueller c565f7eda0 Document destination handler reset fix in changelog
- TransactionParams::reset only cleared two of its fields, leaving
  stale acknowledged-mode state behind between transactions
- That state made the next transaction's Metadata PDU look like a
  duplicate, so it was silently dropped and the transfer never
  created its destination file
2026-09-08 14:26:38 +02:00
muellerr 9346c193d1 Merge pull request 'bump spacepackets and cleanup a bit' (#17) from bump-spacepackets-cleanup into main
Reviewed-on: #17
2026-09-08 13:16:59 +02:00
Robin Mueller 0926f82635 bump spacepackets and cleanup a bit 2026-09-08 13:07:51 +02:00
muellerr 748142b0a4 Merge pull request 'more docs' (#16) from more-docs into main
Reviewed-on: #16
2025-11-27 15:35:37 +01:00
Robin Mueller 52b21db579 more docs 2025-11-27 15:35:05 +01:00
muellerr f4d66bb482 Merge pull request 'bump spacepackets' (#15) from bump-spacepackets into main
Reviewed-on: #15
2025-11-27 13:55:10 +01:00
Robin Mueller 98096fdea8 bump spacepackets 2025-11-27 13:54:01 +01:00
muellerr 9494e29781 Merge pull request 'removed doc_auto_cfg feature' (#14) from remove-doc-auto-cfg-feature into main
Reviewed-on: #14
2025-10-02 09:47:33 +02:00
Robin Mueller 0d876c5525 removed doc_auto_cfg feature 2025-10-01 00:32:34 +02:00
muellerr 44c31c935a use released cfdp-py in interop example 2025-09-25 14:06:08 +02:00
muellerr 1bb840d3c2 minor docs fixes v0.3.0 2025-09-25 13:51:52 +02:00
muellerr 17a79dcbf1 prepare v0.3.0 2025-09-25 13:30:34 +02:00
muellerr 2e8134dd08 changelog 2025-09-25 13:28:56 +02:00
muellerr 5b5856d551 Merge pull request 'start removing alloc dependency' (#13) from remove-alloc-dep into main
Reviewed-on: #13
2025-09-25 13:27:01 +02:00
Robin Mueller b79d5d7de8 start removing alloc dependency 2025-09-25 13:26:46 +02:00
muellerr f48267692c Merge pull request 'released spacepackets' (#12) from use-released-spacepackets into main
Reviewed-on: #12
2025-09-24 20:06:04 +02:00
Robin Mueller 7ded3316e2 update changelog 2025-09-24 20:04:53 +02:00
Robin Mueller 09c48abd18 use spacepackets v0.16.0 2025-09-24 20:03:33 +02:00
muellerr 6352a94cd7 Merge pull request 'add acknowledged destination handler' (#11) from add-acknowledged-dest-handler into main
Reviewed-on: #11
2025-09-24 20:02:30 +02:00
Robin Mueller c3554774f4 Add acknowledged destination handler 2025-09-24 19:44:08 +02:00
muellerr 8e755fd7b2 Merge pull request 'Add acknowledged source handler' (#10) from add-acknowledged-source-handler into main
Reviewed-on: #10
2025-09-12 13:02:47 +02:00
Robin Mueller ada26f626e Add acknowledged source handler 2025-09-12 12:00:25 +02:00
muellerr fa4657274f Merge pull request 'small improvement' (#9) from add-chat-badge into main
Reviewed-on: #9
2025-08-14 14:26:06 +02:00
Robin Mueller b78a8c4eee small improvement 2025-08-14 14:25:55 +02:00
muellerr ca30d523c3 Merge pull request 'add chat badge' (#8) from add-chat-badge into main
Reviewed-on: #8
2025-08-14 14:25:06 +02:00
Robin Mueller 8b5617ffd4 add chat badge 2025-08-14 14:24:57 +02:00
muellerr 732fac1d1c Merge pull request 'Dependency updates and doc improvements' (#7) from dep-update-docs-improvements into main
Reviewed-on: #7
2025-08-13 18:17:17 +02:00
muellerr 226a7494a0 Dependency updates and Doc improvements 2025-08-13 18:12:33 +02:00
muellerr e401d5f1ac Merge pull request 'prepare v0.2.0' (#6) from prep-v0.2.0 into main
Reviewed-on: #6
v0.2.0
2024-11-26 10:57:25 +01:00
muellerr 1b7d128a10 prepare v0.2.0 2024-11-26 10:45:30 +01:00
muellerr fae27bdf93 Merge pull request 'test fixes' (#5) from smaller-fixes-for-tests into main
Reviewed-on: #5
2024-11-08 17:14:22 +01:00
muellerr d5e2162f52 test fixes 2024-11-08 17:13:01 +01:00
muellerr e3fff18cd2 Merge pull request 'bump dependencies' (#4) from bump-dependencies into main
Reviewed-on: #4
2024-11-08 17:01:59 +01:00
muellerr 5c579209f0 bump dependencies 2024-11-08 17:01:17 +01:00
muellerr 1103203e64 Merge pull request 'prepare first release' (#2) from prepare-v0.1.0 into main
Rust/cfdp/pipeline/head This commit looks good
Reviewed-on: #2
v0.1.0
2024-09-11 10:41:11 +02:00
muellerr de8be20f36 prepare first release
Rust/cfdp/pipeline/head This commit looks good
2024-09-11 10:23:33 +02:00
muellerr b87ccde07d init commit
Rust/cfdp/pipeline/head This commit looks good
2024-09-10 18:52:37 +02:00