benjamin-bader / amanuensis

ah - MAN - you - EN - sis: Web Traffic Inspector
GNU General Public License v3.0
2 stars 0 forks source link

Split management of client and server connections #6

Open benjamin-bader opened 7 years ago

benjamin-bader commented 7 years ago

The current design, where both live in a single Connection, is adequate only for simple HTTP transactions in isolation, like from curl. Connection management (e.g. persistent connections with a remote server) necessitate that responsibility be divided.

benjamin-bader commented 6 years ago

Connection and ConnectionManager have been supplanted by ProxyTransaction, Conn, and ConnectionPool, but the issue remains the same: we don't even attempt proper connection management.

We should get around to that at some point!