Repository navigation
Description
Preserve versioned HighID and LowID wire identity and the source server tuple through intake and response. Prove a valid hybrid .0 endpoint, callback eligibility, and SX2 v2/v4 framing.
Compare behavior with stock eMule ac3d52e and amule-org aMule c5989ec4a. Use #164 for deterministic protocol evidence and #31 for same-revision interoperability.
Roadmap placement is Beta 3 Client gate.
Deferred SX2 after metadata preparation
aMule 3.0.1 (02db0d7fa) advertises SX2 and accepts the embedded request. Its standalone handler reads the version and options, then rejects the valid 19-byte payload with its SX1 size check. Stock eMule ac3d52e handles both forms. amule-org fixed the standalone handler in b99d8c2d1, present at c5989ec4a.
- Carry deferred SX2 in the negotiated regular or extended multipacket for a prepared peer without file identifiers. Keep the existing standalone request for file-identifier peers and peers without multipacket support.
- Prove one SX2 request, no repeat of metadata requests, and upload admission on the original connection. Retain a same-revision aMule 3.0.1 transfer result under RUST-CI-006 - Refresh current-head stock parity evidence and reconcile docs #31.
Same-head SX2 verification
Rust 99d911149d1a8f18c0bc7b51e7330a3721fae5d0 passed 192 TCP tests. The prepared-peer test exercises standard and extended legacy multipackets and the modern standalone request. The aMule 3.0.1 runtime on the same Rust revision accepted embedded SX2, returned the MD4 hashset, granted upload and returned the expected directory listing on the first connection. The 10 MiB delivery passed byte verification. Stock eMule browsing and verified delivery also passed on this revision. See #31 for campaign scope.
Genuine LowID callback evidence
The codec tests on Rust 99d9111 cover the hybrid .0 HighID encoding and exclude genuine LowIDs from ordinary SX2 publication. The startup metadata test retains distinct server-qualified callback routes. The first-connection native transfers above establish deferred SX2 behavior. They do not exercise a received genuine LowID row followed by a routed callback.
Stock ac3d52e and amule-org c5989ec4a filter genuine LowIDs from ordinary SX2 publication, so that row needs a deterministic fixture. Use a controlled SX2 reply with a genuine LowID and a particular server tuple. Observe the resulting callback to the matching server and ID, with another server using the same LowID to check route separation. aMule's separately negotiated extended source exchange is tracked in #391.
The source points are stock KnownFile.cpp and PartFile.cpp, aMule KnownFile.cpp and PartFile.cpp, and Rust ed2k_tcp/tests/protocol/codec.rs and tests/download/startup_metadata.rs.
Solicited SX2 to server callback
PR #394 at e0f36b3 adds the Windows loopback fixture solicited_sx2_low_ids_dispatch_to_their_own_servers. Rust opens a selected download and sends a standalone SX2 v4 request on the TCP session. The scripted peer replies with the same numeric LowID on two distinct server endpoints. The test confirms both persisted routes, then calls normal download preparation for the job. Each server receives the exact OP_GLOBCALLBACKREQ datagram for that LowID. The second server receives its request after the first availability window expires. The fixture stops at outgoing dispatch and does not simulate a relayed peer connect-back.
The registered Windows core suite passed, including 735 library tests and the integration targets. Stock eMule and amule-org aMule omit genuine LowIDs from ordinary SX2 publication, so the fixture supplies the controlled response directly.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn Progress
Activity