proxy
The proxy configurations in Network Filter.
proxy is the most common network filter in MOSN and is configured in the following format:
{
"downstream_protocol":"",
"upstream_protocol":"",
"router_config_name":"",
"extend_config":{}
}
downstream_protocol
: The request protocol that the proxy expects to receive. When receiving data from a connection, MOSN uses this protocol to parse and forward packets. If the received packet protocol does not comply with the configuration, MOSN closes the connection.upstream_protocol
: The protocol used by the proxy to forward data. Usually, this field needs to be consistent withdownstream_protocol
. Protocol conversion is performed only in special scenarios.router_config_name
: The router configuration index of the proxy. Usually, this field is consistent withrouter_config_name
configured inconnection_manager
of the listener.extend_config
: The extension configuration, used only inXProtocol
of MOSN currently.
Last modified December 2, 2022: Bump tar from 4.4.8 to 4.4.19 in /themes/docsy/userguide (942c999)