don't check errno is zero, just print out message
This commit is contained in:
@@ -1912,7 +1912,7 @@ printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240
|
|||||||
break;
|
break;
|
||||||
case SSL_ERROR_SYSCALL:
|
case SSL_ERROR_SYSCALL:
|
||||||
ret=get_last_socket_error();
|
ret=get_last_socket_error();
|
||||||
if (ret == 0 && c_brief)
|
if (ret == 0)
|
||||||
BIO_puts(bio_err, "CONNECTION CLOSED BY SERVER\n");
|
BIO_puts(bio_err, "CONNECTION CLOSED BY SERVER\n");
|
||||||
else
|
else
|
||||||
BIO_printf(bio_err,"read:errno=%d\n",ret);
|
BIO_printf(bio_err,"read:errno=%d\n",ret);
|
||||||
|
|||||||
Reference in New Issue
Block a user