Tectu / malloy

A cross-platform C++20 library providing embeddable server & client components for HTTP and WebSocket.
BSD 3-Clause "New" or "Revised" License
66 stars 8 forks source link

HTTP Client: Allow connection re-use #125

Open Tectu opened 1 year ago

Tectu commented 1 year ago

The HTTP server already implements connection keep-alive. The client has most pieces in place for this as well. However, the controller will create a new connection on every request. We should implement the necessary logic to re-use an existing connection when desired.