clang-format
This commit is contained in:
parent
cdb466956d
commit
e30edb096a
|
@ -1870,11 +1870,14 @@ int parse_config(const StringRef &opt, const StringRef &optarg,
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
case SHRPX_OPTID_HTTP2_BRIDGE:
|
case SHRPX_OPTID_HTTP2_BRIDGE:
|
||||||
LOG(ERROR) << opt << ": deprecated. Use backend=<addr>,<port>;;proto=h2;tls";
|
LOG(ERROR) << opt
|
||||||
|
<< ": deprecated. Use backend=<addr>,<port>;;proto=h2;tls";
|
||||||
return -1;
|
return -1;
|
||||||
case SHRPX_OPTID_CLIENT_PROXY:
|
case SHRPX_OPTID_CLIENT_PROXY:
|
||||||
LOG(ERROR) << opt << ": deprecated. Use http2-proxy, frontend=<addr>,<port>;no-tls "
|
LOG(ERROR)
|
||||||
"and backend=<addr>,<port>;;proto=h2;tls";
|
<< opt
|
||||||
|
<< ": deprecated. Use http2-proxy, frontend=<addr>,<port>;no-tls "
|
||||||
|
"and backend=<addr>,<port>;;proto=h2;tls";
|
||||||
return -1;
|
return -1;
|
||||||
case SHRPX_OPTID_ADD_X_FORWARDED_FOR:
|
case SHRPX_OPTID_ADD_X_FORWARDED_FOR:
|
||||||
mod_config()->http.xff.add = util::strieq_l("yes", optarg);
|
mod_config()->http.xff.add = util::strieq_l("yes", optarg);
|
||||||
|
|
Loading…
Reference in New Issue