nghttpx: Don't enable SSL_MODE_AUTO_RETRY since we do non-blocking I/O

This commit is contained in:
Tatsuhiro Tsujikawa 2017-04-01 12:05:07 +09:00
parent b41a5afe04
commit 236c835abc
1 changed files with 0 additions and 2 deletions

View File

@ -755,7 +755,6 @@ SSL_CTX *create_ssl_context(const char *private_key_file, const char *cert_file,
BIO_free(bio);
}
SSL_CTX_set_mode(ssl_ctx, SSL_MODE_AUTO_RETRY);
SSL_CTX_set_mode(ssl_ctx, SSL_MODE_RELEASE_BUFFERS);
if (!tlsconf.private_key_passwd.empty()) {
SSL_CTX_set_default_passwd_cb(ssl_ctx, ssl_pem_passwd_cb);
@ -947,7 +946,6 @@ SSL_CTX *create_ssl_client_context(
DIE();
}
SSL_CTX_set_mode(ssl_ctx, SSL_MODE_AUTO_RETRY);
SSL_CTX_set_mode(ssl_ctx, SSL_MODE_RELEASE_BUFFERS);
if (SSL_CTX_set_default_verify_paths(ssl_ctx) != 1) {