diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /www/freenginx-devel/files/extra-patch-passenger-Configuration.c | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'www/freenginx-devel/files/extra-patch-passenger-Configuration.c')
| -rw-r--r-- | www/freenginx-devel/files/extra-patch-passenger-Configuration.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/freenginx-devel/files/extra-patch-passenger-Configuration.c b/www/freenginx-devel/files/extra-patch-passenger-Configuration.c new file mode 100644 index 000000000000..1c53ea086717 --- /dev/null +++ b/www/freenginx-devel/files/extra-patch-passenger-Configuration.c @@ -0,0 +1,20 @@ +--- ../passenger-6.0.27/src/nginx_module/Configuration.c.orig 2013-10-26 20:00:00.000000000 -0400 ++++ ../passenger-6.0.27/src/nginx_module/Configuration.c 2025-11-02 20:09:05.651562000 -0500 +@@ -224,7 +224,7 @@ + + conf->upstream_config.send_lowat = NGX_CONF_UNSET_SIZE; + conf->upstream_config.buffer_size = NGX_CONF_UNSET_SIZE; +- #if NGINX_VERSION_NUM >= 1027000 ++ #if NGINX_VERSION_NUM >= 1027000 && !defined freenginx + conf->upstream_config.limit_rate = NGX_CONF_UNSET_PTR; + #elif NGINX_VERSION_NUM >= 1007007 + conf->upstream_config.limit_rate = NGX_CONF_UNSET_SIZE; +@@ -467,7 +467,7 @@ + prev->upstream_config.buffer_size, + 16 * 1024); + +- #if NGINX_VERSION_NUM >= 1027000 ++ #if NGINX_VERSION_NUM >= 1027000 && !defined freenginx + ngx_conf_merge_ptr_value(conf->upstream_config.limit_rate, + prev->upstream_config.limit_rate, NULL); + #elif NGINX_VERSION_NUM >= 1007007 |
