aboutsummaryrefslogtreecommitdiff
path: root/crates/utils/tcp_connection/src/instance.rs
Commit message (Collapse)AuthorAgeFilesLines
* Handle zero-size files in TCP file transferWeicao-CatilGrass2025-12-181-0/+25
| | | | | Skip content transfer and verification for empty files, sending immediate confirmation from receiver.
* Refactor TCP connection authentication into separate module魏曹先生2025-09-281-284/+1
| | | | | | - Extract challenge-response authentication code from instance.rs to new instance_challenge.rs - Add instance_challenge module declaration to lib.rs - Maintain all cryptographic functionality while improving code organization
* feat(tcp_connection): add MessagePack serialization support魏曹先生2025-09-261-22/+124
| | | | | | | | | | | | - Add rmp-serde dependency for MessagePack serialization - Implement write_msgpack and read_msgpack methods for basic MessagePack support - Add write_large_msgpack and read_large_msgpack methods for chunked transmission - Add error conversions for rmp-serde errors - Add comprehensive tests for MessagePack functionality - Fix code formatting and improve readability - Make stream field pub(crate) for better access control All tests pass successfully, ensuring backward compatibility.
* Fixed by Clippy魏曹先生2025-09-251-14/+10
|
* Fixed function `write` and `read`魏曹先生2025-09-221-18/+52
|
* Fixed Challenge魏曹先生2025-09-211-15/+22
|
* Complete Challenge魏曹先生2025-09-211-199/+289
|
* Add challenge function for `tcp_connection`魏曹先生2025-09-211-6/+243
|
* Removed unused imports魏曹先生2025-09-201-1/+1
|
* Add message transfer functions魏曹先生2025-09-171-1/+324
|
* Add instance.rs魏曹先生2025-09-141-0/+11