Don't send incomplete connection request packet on reconnect.
Fixes connection error when reconnecting after a network error or pending_resize disconnection.. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1787 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
f28bddc81b
commit
6364680a8c
11
iso.c
11
iso.c
@ -227,15 +227,8 @@ iso_connect(char *server, char *username, char *domain, char *password,
|
||||
if (!tcp_connect(server))
|
||||
return False;
|
||||
|
||||
if (reconnect)
|
||||
{
|
||||
iso_send_msg(ISO_PDU_CR);
|
||||
}
|
||||
else
|
||||
{
|
||||
iso_send_connection_request(username, neg_proto);
|
||||
}
|
||||
|
||||
iso_send_connection_request(username, neg_proto);
|
||||
|
||||
s = iso_recv_msg(&code, NULL);
|
||||
if (s == NULL)
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user