Detection of unclean disconnect turned out not to work on W2K3 Server. Doh!
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@425 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
e934f6dbd2
commit
9231b642e8
12
rdp.c
12
rdp.c
@ -865,7 +865,12 @@ rdp_main_loop(void)
|
|||||||
|
|
||||||
case RDP_PDU_DEACTIVATE:
|
case RDP_PDU_DEACTIVATE:
|
||||||
DEBUG(("RDP_PDU_DEACTIVATE\n"));
|
DEBUG(("RDP_PDU_DEACTIVATE\n"));
|
||||||
return True;
|
/* We thought we could detect a clean
|
||||||
|
shutdown of the session by this
|
||||||
|
packet, but it seems Windows 2003
|
||||||
|
is sending us one of these when we
|
||||||
|
reconnect to a disconnected session
|
||||||
|
return True; */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RDP_PDU_DATA:
|
case RDP_PDU_DATA:
|
||||||
@ -879,7 +884,10 @@ rdp_main_loop(void)
|
|||||||
unimpl("PDU %d\n", type);
|
unimpl("PDU %d\n", type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return False;
|
return True;
|
||||||
|
/* We want to detect if we got a clean shutdown, but we
|
||||||
|
can't. Se above.
|
||||||
|
return False; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Establish a connection up to the RDP layer */
|
/* Establish a connection up to the RDP layer */
|
||||||
|
Loading…
Reference in New Issue
Block a user