提交 2537d469 编写于 作者: D Dr. Stephen Henson

oops, really check brief mode only ;-)

上级 5447f836
...@@ -1912,7 +1912,7 @@ printf("read=%d pending=%d peek=%d\n",k,SSL_pending(con),SSL_peek(con,zbuf,10240 ...@@ -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) if (c_brief)
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册