Welcome! Log In Create A New Profile

Advanced

[nginx] Uwsgi: added create_loc_conf comments.

Anonymous User
November 12, 2024 08:22AM
details: https://github.com/nginx/nginx/commit/d10bf73ebad8866918e1e1002855c3a501b92e0c
branches: master
commit: d10bf73ebad8866918e1e1002855c3a501b92e0c
user: Sergey Kandaurov <pluknet@nginx.com>
date: Tue, 8 Oct 2024 18:24:34 +0400
description:
Uwsgi: added create_loc_conf comments.


---
src/http/modules/ngx_http_uwsgi_module.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

diff --git a/src/http/modules/ngx_http_uwsgi_module.c b/src/http/modules/ngx_http_uwsgi_module.c
index 2af5a930a..9e9682bc3 100644
--- a/src/http/modules/ngx_http_uwsgi_module.c
+++ b/src/http/modules/ngx_http_uwsgi_module.c
@@ -1511,6 +1511,28 @@ ngx_http_uwsgi_create_loc_conf(ngx_conf_t *cf)
return NULL;
}

+ /*
+ * set by ngx_pcalloc():
+ *
+ * conf->upstream.bufs.num = 0;
+ * conf->upstream.ignore_headers = 0;
+ * conf->upstream.next_upstream = 0;
+ * conf->upstream.cache_zone = NULL;
+ * conf->upstream.cache_use_stale = 0;
+ * conf->upstream.cache_methods = 0;
+ * conf->upstream.temp_path = NULL;
+ * conf->upstream.hide_headers_hash = { NULL, 0 };
+ * conf->upstream.store_lengths = NULL;
+ * conf->upstream.store_values = NULL;
+ *
+ * conf->uwsgi_string = { 0, NULL };
+ * conf->ssl = 0;
+ * conf->ssl_protocols = 0;
+ * conf->ssl_ciphers = { 0, NULL };
+ * conf->ssl_trusted_certificate = { 0, NULL };
+ * conf->ssl_crl = { 0, NULL };
+ */
+
conf->modifier1 = NGX_CONF_UNSET_UINT;
conf->modifier2 = NGX_CONF_UNSET_UINT;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Uwsgi: added create_loc_conf comments.

Anonymous User 169 November 12, 2024 08:22AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 199
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready