Bring back reset of g_ssl on reset_state()
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1719 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
8200b5bbd4
commit
dc3be1486d
6
tcp.c
6
tcp.c
@ -123,6 +123,9 @@ tcp_send(STREAM s)
|
|||||||
int length = s->end - s->data;
|
int length = s->end - s->data;
|
||||||
int sent, total = 0;
|
int sent, total = 0;
|
||||||
|
|
||||||
|
if (g_network_error)
|
||||||
|
return;
|
||||||
|
|
||||||
#ifdef WITH_SCARD
|
#ifdef WITH_SCARD
|
||||||
scard_lock(SCARD_LOCK_TCP);
|
scard_lock(SCARD_LOCK_TCP);
|
||||||
#endif
|
#endif
|
||||||
@ -192,6 +195,9 @@ tcp_recv(STREAM s, uint32 length)
|
|||||||
uint32 new_length, end_offset, p_offset;
|
uint32 new_length, end_offset, p_offset;
|
||||||
int rcvd = 0, ssl_err;
|
int rcvd = 0, ssl_err;
|
||||||
|
|
||||||
|
if (g_network_error)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
{
|
{
|
||||||
/* read into "new" stream */
|
/* read into "new" stream */
|
||||||
|
Loading…
Reference in New Issue
Block a user