diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2025-09-23 15:03:52 +0400 |
|---|---|---|
| committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2025-10-23 18:40:05 +0400 |
| commit | 42ca3a4576a32d0a912b0bba4088b8169f55ab2d (patch) | |
| tree | 9277aa698778e2b82eaed13d6196ac21e1c0c990 /src/http/ngx_http_core_module.h | |
| parent | c8c7beb96f61e2251abbc345357116131cf91c22 (diff) | |
| download | nginx-42ca3a4576a32d0a912b0bba4088b8169f55ab2d.tar.gz nginx-42ca3a4576a32d0a912b0bba4088b8169f55ab2d.tar.bz2 | |
CONNECT method support for HTTP/1.1.
The change allows modules to use the CONNECT method with HTTP/1.1 requests.
To do so, they need to set the "allow_connect" flag in the core server
configuration.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
| -rw-r--r-- | src/http/ngx_http_core_module.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index a794144aa..9be565373 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -206,6 +206,7 @@ typedef struct { #if (NGX_PCRE) unsigned captures:1; #endif + unsigned allow_connect:1; ngx_http_core_loc_conf_t **named_locations; } ngx_http_core_srv_conf_t; |
