aboutsummaryrefslogtreecommitdiff
path: root/www/nginx-devel
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2021-03-11 15:33:49 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2021-03-11 15:33:49 +0000
commit4ac4bf55b4b1c5d39ad936765c94a70cc8796012 (patch)
treed3454dc217736fd5078174d666d2e46a5114889a /www/nginx-devel
parent1fe9af7d0c164890c40b6ecdda708a69c292b18f (diff)
downloadports-4ac4bf55b4b1c5d39ad936765c94a70cc8796012.tar.gz
ports-4ac4bf55b4b1c5d39ad936765c94a70cc8796012.zip
Notes
Diffstat (limited to 'www/nginx-devel')
-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);
+