Skip to content

Conversation

@glamberson
Copy link
Contributor

Adds SendFileContentsResponse to ClipboardMessage enum, enabling clipboard
backends to signal when file data is ready to send via submit_file_contents().

This provides the message-based interface pattern used consistently by server
implementations for clipboard operations.

Changes

  • SendFileContentsResponse message variant in ClipboardMessage
  • Server handler wiring

Dependencies

Depends on #1065 (request_file_contents method).

The server uses `ironrdp_tokio::reqwest::ReqwestNetworkClient` in
accept_credssp but the reqwest feature was not enabled, causing
compilation to fail.

Fixes Devolutions#1062
@glamberson glamberson force-pushed the pr3-file-contents-response branch from 566c658 to 57de9b2 Compare December 23, 2025 11:46
Per MS-RDPECLIP sections 2.2.4.6 and 2.2.4.7, the Local Clipboard Owner
may lock the Shared Clipboard Owner's clipboard data before requesting
file contents. This ensures data stability during multi-request file
transfers.

Adds lock_clipboard() and unlock_clipboard() methods with corresponding
ClipboardMessage variants for server integration.
Per MS-RDPECLIP section 2.2.5.3, the Local Clipboard Owner sends
File Contents Request PDU to retrieve file data from the Shared
Clipboard Owner. This enables server-side file paste operations.

Adds request_file_contents() method with SendFileContentsRequest
message variant for server integration.
Adds SendFileContentsResponse to ClipboardMessage enum, enabling
clipboard backends to signal when file data is ready to send via
submit_file_contents(). This provides the message-based interface
pattern used by server implementations for clipboard operations.
@glamberson glamberson force-pushed the pr3-file-contents-response branch from 57de9b2 to eb84547 Compare December 23, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants