On Tue, Oct 15, 2013 at 04:58:14AM +0000, Eric Wong wrote:
> > Subject: http: use curl's tcp keepalive if available
> Tested-by: Eric Wong <normalper...@yhbt.net>
> on curl 7.21.0 and 7.26.0, confirmed via strace:
> setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, , 4) = 0
> I can also confirm 7.26.0 adds:
> setsockopt(fd, SOL_TCP, TCP_KEEPIDLE, , 4) = 0
> setsockopt(fd, SOL_TCP, TCP_KEEPINTVL, , 4) = 0
> to the strace on Linux.
Thanks, I didn't actually do any testing myself.
> Case 2 works fine on my Debian Squeeze system.
> > Now we have an extra option:
> > c. Tell them to upgrade curl. :)
> Yes, I keep forgetting I still have a Debian Squeeze machine :x
I am more concerned with Windows, which may not compile your original
patch at all.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html