summaryrefslogtreecommitdiffstats
path: root/uirdesktop
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-06-27 06:54:06 +0000
committerjsorg71 <jsorg71>2006-06-27 06:54:06 +0000
commit18f442c10d164ab8cca0e5aa540042456400aecc (patch)
tree3e36f12fe26648e104a4e63dbc876db1af618d78 /uirdesktop
parentfdb149c91e8d891cede8a4e79fd5bbc0b2f8d7bb (diff)
downloadxrdp-proprietary-18f442c10d164ab8cca0e5aa540042456400aecc.tar.gz
xrdp-proprietary-18f442c10d164ab8cca0e5aa540042456400aecc.zip
vista disconnect fix
Diffstat (limited to 'uirdesktop')
-rw-r--r--uirdesktop/rdp.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/uirdesktop/rdp.c b/uirdesktop/rdp.c
index 481a0005..7100415b 100644
--- a/uirdesktop/rdp.c
+++ b/uirdesktop/rdp.c
@@ -1309,7 +1309,13 @@ process_data_pdu(STREAM s, uint32 * ext_disc_reason)
case RDP_DATA_PDU_DISCONNECT:
process_disconnect_pdu(s, ext_disc_reason);
- return True;
+
+ /* We used to return true and disconnect immediately here, but
+ * Windows Vista sends a disconnect PDU with reason 0 when
+ * reconnecting to a disconnected session, and MSTSC doesn't
+ * drop the connection. I think we should just save the status.
+ */
+ break;
default:
unimpl("data PDU %d\n", data_pdu_type);