nghttpx: Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2017-12-16 00:13:27 +09:00
parent c1f14d73c7
commit 48f574076c
1 changed files with 2 additions and 0 deletions

View File

@ -149,6 +149,8 @@ int ssl_pem_passwd_cb(char *buf, int size, int rwflag, void *user_data) {
} // namespace
namespace {
// *al is set to SSL_AD_UNRECOGNIZED_NAME by openssl, so we don't have
// to set it explicitly.
int servername_callback(SSL *ssl, int *al, void *arg) {
auto conn = static_cast<Connection *>(SSL_get_app_data(ssl));
auto handler = static_cast<ClientHandler *>(conn->data);