On Mon, 21 Jan 2019, Vipin P R wrote:

Thank you. I found out that Apache Bench uses HTTP1.0 which doesn't use connection persistence. Hence no TIME_WAIT connections. Thus the server sends the FIN. In case of Libcurl and curl, we use HTTP1.1 where we use KEEPALIVES.

1. That doesn't explain why the connections are closed though...

2. HTTP/1.1 doesn't need any "KEEPALIVES" (as in special headers) normally since it does persistent connections by default.

--

 / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to