saviorand / lightbug_http

Simple and fast HTTP framework for Mojo! 🔥
MIT License
567 stars 36 forks source link

Cache persistent connections in client #65

Closed bgreni closed 1 week ago

bgreni commented 1 month ago

Follow up from https://github.com/saviorand/lightbug_http/pull/60#discussion_r1775777594

Currently we close each connection in the client. We need to implement a mechanism for managing persistent connections, potentially multiple at a time based on hostname. Might be worthwhile to investigate how other libraries manage them.