Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it build using OpenSSL 1.1.0 #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kroeckx
Copy link

@kroeckx kroeckx commented Sep 2, 2016

The reference counter is now internal in OpenSSL and not accessible any more.

@@ -1175,8 +1175,7 @@ ngx_http_upstream_fair_set_session(ngx_peer_connection_t *pc, void *data)
rc = ngx_ssl_set_session(pc->connection, ssl_session);

ngx_log_debug2(NGX_LOG_DEBUG_HTTP, pc->log, 0,
"set session: %p:%d",
ssl_session, ssl_session ? ssl_session->references : 0);
"set session: %p", ssl_session);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @kroeckx ,

you should also use ngx_log_debug1(), the number denotes the number of arguments.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

The reference counter is now internal in OpenSSL and not accessible any more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants