From 54f5ea9d6e3e1abde5e5c5c6a54401dee7b06efa Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 15 Jan 2016 23:20:08 +0900 Subject: [PATCH] Update doc --- src/shrpx_http.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shrpx_http.h b/src/shrpx_http.h index e4c20958..fbff3380 100644 --- a/src/shrpx_http.h +++ b/src/shrpx_http.h @@ -39,6 +39,9 @@ std::string create_error_html(unsigned int status_code); std::string create_via_header_value(int major, int minor); +// Returns generated RFC 7239 Forwarded header field value. The +// |params| is bitwise-OR of zero or more of shrpx_forwarded_param +// defined in shrpx_config.h. std::string create_forwarded(int params, const std::string &node_by, const std::string &node_for, const std::string &host, const std::string &proto);