minor changes

This commit is contained in:
Kanaga Vasantharaj (WIPRO LIMITED) 2025-07-02 18:34:36 +05:30
parent 661db9263f
commit 4c3d90f078
3 changed files with 6 additions and 2 deletions

View File

@ -313,6 +313,7 @@ static ngx_command_t ngx_http_ssl_commands[] = {
ngx_null_command ngx_null_command
}; };
static ngx_http_module_t ngx_http_ssl_module_ctx = { static ngx_http_module_t ngx_http_ssl_module_ctx = {
ngx_http_ssl_add_variables, /* preconfiguration */ ngx_http_ssl_add_variables, /* preconfiguration */
ngx_http_ssl_init, /* postconfiguration */ ngx_http_ssl_init, /* postconfiguration */

View File

@ -1812,6 +1812,7 @@ ngx_http_upstream_ssl_handshake_handler(ngx_connection_t *c)
ngx_http_upstream_t *u; ngx_http_upstream_t *u;
r = c->data; r = c->data;
u = r->upstream; u = r->upstream;
if (c->ssl && c->ssl->handshaked) { if (c->ssl && c->ssl->handshaked) {
@ -1838,6 +1839,7 @@ ngx_http_upstream_ssl_handshake_handler(ngx_connection_t *c)
} }
ngx_http_upstream_ssl_handshake(r, u, c); ngx_http_upstream_ssl_handshake(r, u, c);
ngx_http_run_posted_requests(c); ngx_http_run_posted_requests(c);
} }

View File

@ -61,8 +61,8 @@ typedef struct {
ngx_uint_t status; ngx_uint_t status;
ngx_msec_t response_time; ngx_msec_t response_time;
ngx_msec_t connect_time; ngx_msec_t connect_time;
ngx_str_t backend_ssl_protocol; ngx_str_t backend_ssl_protocol;
ngx_str_t backend_ssl_cipher; ngx_str_t backend_ssl_cipher;
ngx_msec_t header_time; ngx_msec_t header_time;
ngx_msec_t queue_time; ngx_msec_t queue_time;
off_t response_length; off_t response_length;
@ -269,6 +269,7 @@ typedef struct {
ngx_uint_t redirect; /* unsigned redirect:1; */ ngx_uint_t redirect; /* unsigned redirect:1; */
} ngx_http_upstream_header_t; } ngx_http_upstream_header_t;
typedef struct { typedef struct {
ngx_list_t headers; ngx_list_t headers;
ngx_list_t trailers; ngx_list_t trailers;