Commit Graph

11 Commits

Author SHA1 Message Date
matt335672 32d5d7cc27
Merge pull request #2001 from metalefty/clipfile-fail
clipboard file: Implement MS-RDPECLIP 3.1.5.4.7 compliance (#2001)
2021-09-21 10:37:35 +01:00
Koichiro IWAO ad13956b12
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.
2021-09-21 16:50:42 +09:00
matt335672 253ea6eb6d Send clip response for string while file list is available 2021-09-16 10:02:02 +01:00
matt335672 d9988c340c Improve error checking and logging for returned CLIPRDR_FILELIST 2021-09-16 10:02:02 +01:00
Pavel Roskin 6ed4c969f4 Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
Pavel Roskin e35b5a4708 Constify string arguments in xrdp-chansrv sources 2017-01-22 22:39:10 -08:00
Jay Sorg 77e74e8e68 chansrv: clipboard file copy / paste working now 2012-11-05 01:04:04 -08:00
Jay Sorg e2ef19098b chansrv: work on clipboard file copy 2012-11-04 13:52:33 -08:00
Jay Sorg 900d66dc6e chansrv: work on clipboard file copy paste 2012-11-03 18:47:04 -07:00
Jay Sorg 6e25a5e600 chansrv: work on clipboard 2012-10-29 20:12:24 -07:00
Jay Sorg 37d4f5725c chansrv: split out clipboard code, getting big 2012-10-14 11:46:01 -07:00