Fix issue with WTS 2003 and a case were a network error
is triggered at a server redirect, preventing connection to the new server. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1770 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
723b636153
commit
48f661b1b0
@ -1123,6 +1123,11 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
fprintf(stderr, "Redirected to %s@%s session %d.\n",
|
fprintf(stderr, "Redirected to %s@%s session %d.\n",
|
||||||
g_redirect_username, g_redirect_server, g_redirect_session_id);
|
g_redirect_username, g_redirect_server, g_redirect_session_id);
|
||||||
|
|
||||||
|
/* A redirect on SSL from a 2003 WTS will result in a 'connection reset by peer'
|
||||||
|
and therefor we just clear this error before we connect to redirected server.
|
||||||
|
*/
|
||||||
|
g_network_error = False;
|
||||||
}
|
}
|
||||||
|
|
||||||
ui_init_connection();
|
ui_init_connection();
|
||||||
|
Loading…
Reference in New Issue
Block a user