Commit 544ebbce authored by Bodo Möller's avatar Bodo Möller
Browse files

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.
parent 6d0dcbed
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)
		{