Skip to content
Merged
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
3 changes: 2 additions & 1 deletion mgmt/RecordsConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ static const RecordElement RecordsConfig[] =
//#
//# 1. number_of_redirections: The maximum number of redirections TS permits. Disabled if set to 0 (default)
//# 2. proxy.config.http.redirect_use_orig_cache_key: Location Header if set to 0 (default), else use original request cache key
//# 3. post_copy_size: The maximum POST data size TS permits to copy
//# 3. redirection_host_no_port: do not include default port in host header during redirection
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to reviewers: This text was taken from HttpConfig.cc.

//# 4. post_copy_size: The maximum POST data size TS permits to copy
//#
//##############################################################################
{RECT_CONFIG, "proxy.config.http.number_of_redirections", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_NULL, nullptr, RECA_NULL}
Expand Down
5 changes: 1 addition & 4 deletions proxy/http/HttpConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1210,10 +1210,7 @@ HttpConfig::startup()
//#
//# Redirection
//#
//# 1. number_of_redirections: The maximum number of redirections YTS permits. 0 == disabled
//# 2. redirect_use_orig_cache_key: if set to 1, use original request cache key.
//# 3. post_copy_size: The maximum POST data size YTS permits to copy
//# 4. redirection_host_no_port: do not include default port in host header during redirection
//# See RecordsConfig definition.
//#
//##############################################################################
HttpEstablishStaticConfigByte(c.oride.redirect_use_orig_cache_key, "proxy.config.http.redirect_use_orig_cache_key");
Expand Down