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