curl-library
Re: How to Set Keep Alive Option in CURL
From: m brandenberg <mcbinc_at_panix.com>
Date: Mon, 2 Jan 2017 17:06:12 -0500 (EST)
Date: Mon, 2 Jan 2017 17:06:12 -0500 (EST)
On Mon, 2 Jan 2017, Praveen Pvs wrote:
> Am I missing something here?
I believe you are confusing TCP keepalives with HTTP keepalives.
You've enabled the former but you seek the latter.
HTTP keepalives are assumed in HTTP 1.1 and later and are
generally available once 1.1 is established and HTTP keepalive
is not disabled by headers. Servers will drop an idle connection
as a resource concern and that is exactly what your wireshark
trace shows with the server issuing an RST on the connection.
-- Monty Brandenberg, Software Engineer MCB, Inc. mcbinc_at_panix.com P.O. Box 425292 mcbinc_at_pobox.com Cambridge, MA 02142-0006 ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2017-01-02