summaryrefslogtreecommitdiff
path: root/www/nginx/files
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2020-12-29 22:33:41 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2020-12-29 22:33:41 +0000
commitce737071630314fc69899e32eb490c3e627286df (patch)
tree47eeae658f66a8da90e49588b32ba457be6b30c2 /www/nginx/files
parentaudio/webrtc-audio-processing: Sync -std= with devel/abseil to match ABI (diff)
merge r559454 from www/nginx-devel:
Fix PROPFIND fail with 500 on simlinks to non exist file/dir when nginx compiled with the third-party http_dav_ext module. PR: 220871 Sponsored by: Netzkommune GmbH
Notes
Notes: svn path=/head/; revision=559626
Diffstat (limited to 'www/nginx/files')
-rw-r--r--www/nginx/files/extra-patch-ngx_http_dav_ext_module.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/nginx/files/extra-patch-ngx_http_dav_ext_module.c b/www/nginx/files/extra-patch-ngx_http_dav_ext_module.c
new file mode 100644
index 000000000000..cf66be99de49
--- /dev/null
+++ b/www/nginx/files/extra-patch-ngx_http_dav_ext_module.c
@@ -0,0 +1,15 @@
+--- ../nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.c 2018-12-17 11:45:12.000000000 +0300
++++ ../nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.c 2020-03-13 01:20:47.498199000 +0300
+@@ -896,10 +896,9 @@
+ ngx_cpystrn(last, name.data, name.len + 1);
+
+ if (ngx_de_info(filename, &dir) == NGX_FILE_ERROR) {
+- ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno,
++ ngx_log_error(NGX_LOG_ERR, r->connection->log, ngx_errno,
+ ngx_de_info_n " \"%s\" failed", filename);
+- rc = NGX_HTTP_INTERNAL_SERVER_ERROR;
+- break;
++ continue;
+ }
+ }
+