pistache icon indicating copy to clipboard operation
pistache copied to clipboard

[FEATURE REQUEST] ( Keep-Alive support in HTTP server )

Open rockyzhengwu opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

I developed a restful server with pistache, this server just use inside the company, if client and server use persistent connectioin will be more efficient .

Describe the solution you'd like

if client add Connection: Keep-alive can reuse socket with a timeout .

Additional Context

HTTP/1.1 support Keep-alive default

rockyzhengwu avatar Jun 15 '21 15:06 rockyzhengwu

I think this is a good idea, but probably fairly complicated to implement. PRs welcome.

kiplingw avatar Jun 15 '21 17:06 kiplingw