balancer: Add ngx_http_lua_ffi_balancer_set_ssl_ctx#1282
balancer: Add ngx_http_lua_ffi_balancer_set_ssl_ctx#1282james-callahan wants to merge 2 commits intoopenresty:masterfrom
Conversation
src/ngx_http_lua_balancer.c
Outdated
| SSL_CTX* ssl_ctx, char **err) | ||
| { | ||
| ngx_http_lua_ctx_t *ctx; | ||
| ngx_http_upstream_t *u; |
There was a problem hiding this comment.
Pedantic style: two spaces between ngx_http_upstream_t and *u
There was a problem hiding this comment.
I thought the style was to vertically align ctx and u?
There was a problem hiding this comment.
Based on http://nginx.org/en/docs/dev/development_guide.html#code_style_variables (and it looks like this repo follows this guide), there are two spaces separating the columns (types and names), with the right column left-aligned based on deference operators.
This function allows setting an upstream's SSL_CTX* to a user-provided object
83f7f89 to
e04bb58
Compare
|
This pull request is now in conflict :( |
f924579 to
fef2581
Compare
|
This pull request is now in conflict :( |
|
This pull request is now in conflict :( |
|
This pull request is now in conflict :( |
|
This pull request is now in conflict :( |
|
This pull request is now in conflict :( |
|
This pull request is now in conflict :( |
|
This pull request is now in conflict :( |
|
This pull request is now in conflict :( |
This function allows setting an upstream's
SSL_CTX*to a user-provided objectIt comes with a sister pull-request to lua-resty-core: openresty/lua-resty-core#179
I hereby granted the copyright of the changes in this pull request
to the authors of this lua-nginx-module project.