fix issue #1112: set SSL object's read_ahead flag to be 0
This commit is contained in:
parent
a1576ccbf7
commit
88b3c06311
@ -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