aboutsummaryrefslogtreecommitdiff
path: root/www/nginx-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r--www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c b/www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c
new file mode 100644
index 000000000000..b2c43f2cdd78
--- /dev/null
+++ b/www/nginx-devel/files/patch-src-mail-ngx_mail_handler.c
@@ -0,0 +1,20 @@
+--- src/mail/ngx_mail_handler.c.orig 2021-03-10 10:39:31.807351000 -0500
++++ src/mail/ngx_mail_handler.c 2021-03-10 10:41:28.739497000 -0500
+@@ -273,14 +273,15 @@
+ ngx_mail_init_session_handler(ngx_event_t *rev)
+ {
+ ngx_connection_t *c;
+- ngx_mail_session_t *s;
+
+ c = rev->data;
+- s = c->data;
+
+ #if (NGX_MAIL_SSL)
+ {
++ ngx_mail_session_t *s;
+ ngx_mail_ssl_conf_t *sslcf;
++
++ s = c->data;
+
+ sslcf = ngx_mail_get_module_srv_conf(s, ngx_mail_ssl_module);
+