clipboard file: Implement MS-RDPECLIP 3.1.5.4.7 compliance
If the requested file data could not be retrieved or the sender received an unsuccessful Format List Response PDU (section 3.1.5.2.4), then the clipHeader field MUST contain the CB_RESPONSE_FAIL (0x0002) flag and the requestedFileContentsData field MUST contain no data (zero-length). https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpeclip/5d3991e9-440d-4e4d-8b8d-391c324c4007 Fixes #1997.
This commit is contained in:
@@ -35,6 +35,7 @@ clipboard_c2s_in_files(struct stream *s, char *file_list);
|
||||
|
||||
int
|
||||
clipboard_request_file_size(int stream_id, int lindex);
|
||||
|
||||
int
|
||||
clipboard_request_file_data(int stream_id, int lindex, int offset,
|
||||
int request_bytes);
|
||||
|
||||
Reference in New Issue
Block a user