pingora_core::protocols

Module raw_connect

Source
Expand description

CONNECT protocol over http 1.1 via raw Unix domain socket

This mod implements the most rudimentary CONNECT client over raw stream. The idea is to yield raw stream once the CONNECT handshake is complete so that the protocol encapsulated can use the stream directly. This idea only works for CONNECT over HTTP 1.1 and localhost (or where the server is close by).

Structs§

Functions§