summaryrefslogtreecommitdiffstats
path: root/modules/proxy/mod_proxy.h
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2021-11-24 18:49:47 +0100
committerYann Ylavic <ylavic@apache.org>2021-11-24 18:49:47 +0100
commit5338e45798e2be5296b57c5b31c0de763f2d8962 (patch)
tree0482a8f83db4ae7adea0b861b17665169ac6e795 /modules/proxy/mod_proxy.h
parent * mod_md: resurrection of r1893969 after accidental overwrite in r1894610 (diff)
downloadapache2-5338e45798e2be5296b57c5b31c0de763f2d8962.tar.xz
apache2-5338e45798e2be5296b57c5b31c0de763f2d8962.zip
mod_proxy: SetEnv proxy-nohalfclose to disable half-close tunneling. PR 65662.
Some connect/wstunnel protocols might want half-close forwarding while some might not, let's provide an r->subprocess_env opt-out. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895304 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy/mod_proxy.h')
-rw-r--r--modules/proxy/mod_proxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy.h b/modules/proxy/mod_proxy.h
index ad9a9eba32..f0f0994788 100644
--- a/modules/proxy/mod_proxy.h
+++ b/modules/proxy/mod_proxy.h
@@ -1360,7 +1360,8 @@ typedef struct {
proxy_tunnel_conn_t *client,
*origin;
apr_size_t read_buf_size;
- int replied;
+ int replied; /* TODO 2.5+: one bit to merge in below bitmask */
+ unsigned int nohalfclose :1;
} proxy_tunnel_rec;
/**