Re: [Spice-devel] [PATCH spice-vdagent v3] file-xfer: Send more detailed error messages

2017-06-30 Thread Victor Toso
Hi, On Tue, Jun 06, 2017 at 11:22:37PM +0200, Jakub Janků wrote: > Send VD_AGENT_FILE_XFER_STATUS_VDAGENT_NOT_CONNECTED, > VD_AGENT_FILE_XFER_STATUS_SESSION_LOCKED or > VD_AGENT_FILE_XFER_STATUS_DISABLED instead of general error, when the > given error occurs. > > send_file_xfer_status() ensures,

[Spice-devel] [PATCH spice-vdagent v3] file-xfer: Send more detailed error messages

2017-06-06 Thread Jakub Janků
Send VD_AGENT_FILE_XFER_STATUS_VDAGENT_NOT_CONNECTED, VD_AGENT_FILE_XFER_STATUS_SESSION_LOCKED or VD_AGENT_FILE_XFER_STATUS_DISABLED instead of general error, when the given error occurs. send_file_xfer_status() ensures, these errors are sent only to clients with VD_AGENT_CAP_FILE_XFER_DETAILED_ER