mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 17:06:51 +01:00
Bug fixes from #209
This commit is contained in:
@@ -541,6 +541,15 @@ loop:
|
||||
case SSL_ERROR_WANT_WRITE:
|
||||
readBlockedOnWrite = true;
|
||||
break;
|
||||
case SSL_ERROR_SYSCALL:
|
||||
SSL_free(_ssl);
|
||||
_ssl = 0;
|
||||
_numOfInstance--;
|
||||
//TCPStack::close();
|
||||
_busy = false;
|
||||
_mutex.unlock();
|
||||
return -1;
|
||||
break;
|
||||
default:
|
||||
ERR_error_string_n(ERR_get_error(), errmsg, sizeof(errmsg));
|
||||
WRITELOG("Network::recv() %s\n", errmsg);
|
||||
|
||||
Reference in New Issue
Block a user