http_client and keep-alive

Nov 26, 2013 at 6:36 PM
How could the http_client be used in order to send several requests over the same connection with Connection: Keep-Alive?

Thank you,
Sorin
Nov 26, 2013 at 7:40 PM
Hi Sorin, I am not sure what OS you refer to, Linux or Windows?

On Linux, we don't support it yet, but we are working on this feature and it will be there soon.

On Windows, we use WinHttp as our underlying structure. WinHttp does have keep-alive feature, but we don't have any settings to tweak its usage nor we can control it at all. WinHttp might leverage several connections in parallel though. Check http://msdn.microsoft.com/en-us/library/windows/desktop/aa382925(v=vs.85).aspx

Please let me know if it helps.

Oggy!
Nov 26, 2013 at 8:00 PM
I'm sorry I forgot to mention the OS. It's about Linux.

Thank you for the quick and clear answer.

Sorin