mirror of
https://github.com/n0mjs710/HBlink4.git
synced 2026-11-08 04:19:26 +00:00
The receive-side options parser collapsed an empty TS slot value into "slot not mentioned," causing the resolver to fall back to the configured default TGs. So `TS1=;TS2=3120` was indistinguishable from `TS2=3120` and both left TS1 on the configured defaults — contradicting the documented behavior. Track seen_ts1/seen_ts2 separately from the requested set so an empty list is honored as deny-all while a missing slot keeps falling back to config. Wildcard (`TS1=*`) still means "not specified." Replaces the inline parser re-implementation in test_rpto_parsing with a real test that drives HBProtocol._handle_options through a stub, so this class of bug can't slip past the tests again. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>