feat: skip file info transfer for /dev/null placeholder#1113
Conversation
When the sender has exactly one file and it is /dev/null, skip the file info transfer step. This enables reusing croc's secure tunnel (PAKE + encryption + authentication) for WebDAV or other apps without sending real files through the croc protocol.
feat: skip file info transfer for /dev/null placeholderProblem: In WebDAV/TCP forwarding mode, real files are transferred outside of croc — through a WebDAV server or TCP forwarding. However, croc's
For tunnel-only use cases, only steps 1-3 are needed — no real file data should be sent through croc. Solution: When the sender has exactly one file and it is
Analogy: Like sending an empty envelope through a courier service so that:
This enables reusing croc's secure connection infrastructure (PAKE + encryption + authentication) as a transport tunnel for WebDAV or any other application, without sending any real files through the croc protocol itself. |
No description provided.