sozu
sozu copied to clipboard
Replace sessions with mux and transport sessions
In the spirit of the HTTP2 milestone, we want to split the functioning of current sessions (who pass the traffic from front socket to back socket) into:
- transport sessions (TCP)
- mux (for multiplexing) sessions, which entails:
- an HTTP "server" (HTTP1 or H2) on the front side
- one or several HTTP "clients" (HTTP1 or H2) on the backend side (this is multiplexing)
- routing and multiplexing logic