Merge pull request #1132 from daixj-shterm/devel
fix issue #1112: set SSL object's read_ahead flag to be 0
This commit is contained in:
commit
57015aa088
@ -734,7 +734,7 @@ ssl_tls_accept(struct ssl_tls *self, long ssl_protocols,
|
||||
}
|
||||
}
|
||||
|
||||
SSL_CTX_set_read_ahead(self->ctx, 1);
|
||||
SSL_CTX_set_read_ahead(self->ctx, 0);
|
||||
|
||||
if (SSL_CTX_use_RSAPrivateKey_file(self->ctx, self->key, SSL_FILETYPE_PEM)
|
||||
<= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user