supamii/QttpServer

keep-alive does not work

Opened this issue · 2 comments

I have built the example projects and when using Postman to test the end-points it fails for every other request.
After digging down it seems that connections are not being kept alive.

i'm running this issue too :(

My current fix is to always add "Connection: close" to all responses to effectively disable keep-alive.
If anyone knows roughly where this functionality resides in the source I will try to debug further and make a fix (over weekend maybe).