comparison src/http/ngx_http_request.c @ 9120:0aaa09927703

SSL: removed the "ssl" directive. It has been deprecated since 7270:46c0c7ef4913 (1.15.0) in favour of the "ssl" parameter of the "listen" directive, which has been available since 2224:109849282793 (0.7.14).
author Roman Arutyunyan <arut@nginx.com>
date Thu, 08 Jun 2023 14:49:27 +0400
parents 08ef02ad5c54
children dacad3a9c7b8
comparison
equal deleted inserted replaced
9119:08ef02ad5c54 9120:0aaa09927703
324 return; 324 return;
325 } 325 }
326 #endif 326 #endif
327 327
328 #if (NGX_HTTP_SSL) 328 #if (NGX_HTTP_SSL)
329 { 329 if (hc->addr_conf->ssl) {
330 ngx_http_ssl_srv_conf_t *sscf;
331
332 sscf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_ssl_module);
333
334 if (sscf->enable || hc->addr_conf->ssl) {
335 hc->ssl = 1; 330 hc->ssl = 1;
336 c->log->action = "SSL handshaking"; 331 c->log->action = "SSL handshaking";
337 rev->handler = ngx_http_ssl_handshake; 332 rev->handler = ngx_http_ssl_handshake;
338 }
339 } 333 }
340 #endif 334 #endif
341 335
342 if (hc->addr_conf->proxy_protocol) { 336 if (hc->addr_conf->proxy_protocol) {
343 hc->proxy_protocol = 1; 337 hc->proxy_protocol = 1;