提交 544ebbce 编写于 作者: B Bodo Möller

Don't modify s->read_ahead in SSL_clear, which is called from

accept/connect functions; those should not change the
read_ahead setting of the SSL structure.
上级 6d0dcbed
......@@ -119,7 +119,9 @@ int SSL_clear(SSL *s)
s->client_version=s->version;
s->rwstate=SSL_NOTHING;
s->rstate=SSL_ST_READ_HEADER;
#if 0
s->read_ahead=s->ctx->read_ahead;
#endif
if (s->init_buf != NULL)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册