Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mgmt/RecordsConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ static const RecordElement RecordsConfig[] =
,
{RECT_CONFIG, "proxy.config.http.strict_uri_parsing", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
,
{RECT_CONFIG, "proxy.config.http.tunnel_faker_enabled", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_NULL, nullptr, RECA_NULL}
,
// # Send http11 requests
// #
// # 0 - Never
Expand Down
3 changes: 3 additions & 0 deletions proxy/http/HttpConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ HttpConfig::startup()
HttpEstablishStaticConfigLongLong(c.oride.flow_low_water_mark, "proxy.config.http.flow_control.low_water");
HttpEstablishStaticConfigByte(c.oride.post_check_content_length_enabled, "proxy.config.http.post.check.content_length.enabled");
HttpEstablishStaticConfigByte(c.strict_uri_parsing, "proxy.config.http.strict_uri_parsing");
HttpEstablishStaticConfigByte(c.tunnel_faker_enabled, "proxy.config.http.tunnel_faker_enabled");

// [amc] This is a bit of a mess, need to figure out to make this cleaner.
RecRegisterConfigUpdateCb("proxy.config.http.server_session_sharing.match", &http_server_session_sharing_cb, &c);
Expand Down Expand Up @@ -1483,6 +1484,8 @@ HttpConfig::reconfigure()

params->strict_uri_parsing = INT_TO_BOOL(m_master.strict_uri_parsing);

params->tunnel_faker_enabled = INT_TO_BOOL(m_master.tunnel_faker_enabled);

params->oride.down_server_timeout = m_master.oride.down_server_timeout;
params->oride.client_abort_threshold = m_master.oride.client_abort_threshold;

Expand Down
2 changes: 2 additions & 0 deletions proxy/http/HttpConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,8 @@ struct HttpConfigParams : public ConfigInfo {

MgmtByte strict_uri_parsing = 0;

MgmtByte tunnel_faker_enabled = 0;

MgmtByte reverse_proxy_enabled = 0;
MgmtByte url_remap_required = 1;

Expand Down
Loading