.. _arch_overview_http_conn_man: HTTP connection management ========================== HTTP is such a critical component of modern service oriented architectures that Envoy implements a large amount of HTTP specific functionality. Envoy has a built in network level filter called the :ref:`HTTP connection manager `. This filter translates raw bytes into HTTP level messages and events (e.g., headers received, body data received, trailers received, etc.). It also handles functionality common to all HTTP connections and requests such as :ref:`access logging `, :ref:`request ID generation and tracing `, :ref:`request/response header manipulation `, :ref:`route table ` management, and :ref:`statistics `. HTTP connection manager :ref:`configuration `. .. _arch_overview_http_protocols: HTTP protocols -------------- Envoy’s HTTP connection manager has native support for HTTP/1.1, WebSockets, and HTTP/2. It does not support SPDY. Envoy’s HTTP support was designed to first and foremost be an HTTP/2 multiplexing proxy. Internally, HTTP/2 terminology is used to describe system components. For example, an HTTP request and response take place on a *stream*. A codec API is used to translate from different wire protocols into a protocol agnostic form for streams, requests, responses, etc. In the case of HTTP/1.1, the codec translates the serial/pipelining capabilities of the protocol into something that looks like HTTP/2 to higher layers. This means that the majority of the code does not need to understand whether a stream originated on an HTTP/1.1 or HTTP/2 connection. HTTP header sanitizing ---------------------- The HTTP connection manager performs various :ref:`header sanitizing ` actions for security reasons. Route table configuration ------------------------- Each :ref:`HTTP connection manager filter ` has an associated :ref:`route table `. The route table can be specified in one of two ways: * Statically. * Dynamically via the :ref:`RDS API `.