From: Rick Jones <rick.jones2@hp.com>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>,
Adam Langley <agl@imperialviolet.org>,
netdev@vger.kernel.org
Subject: Re: How I can reset TCP sockets after long suspend/resume cyscle
Date: Thu, 05 Jun 2008 14:50:39 -0700 [thread overview]
Message-ID: <48485FAF.6010801@hp.com> (raw)
In-Reply-To: <200806060031.16827.maximlevitsky@gmail.com>
Maxim Levitsky wrote:
> On Thursday, 5 June 2008 00:23:37 Rick Jones wrote:
>>Would you have it done even for those endpoints on which SO_KEEPALIVE
>>wasn't set?
>
>
> Why not?
Apart from just general paranoia? Nothing besides perhaps spite for
having to cover the backside of an application which on the surface at
least does not appear to have attempted to make itself suspend/resume
friendly :) Although how TCP could tell an application with its own
keepalive vs one that simply didn't bother I'm not at all sure.
> This seems the right solution, if this is possible, why not to check
> for stuck TCP connections on resume?
The prospect is perhaps far-fetched, but the application could be in
communication with another laptop, also in a long suspend, and
initiating keepalive when the application did not request it could
trigger a connection drop it was not otherwise expecting after the N
keepalive probes were not answered (because the other end was
suspended). Of course, ostensibly such a connection should already be
dealing with connection drop but still...
rick jones
next prev parent reply other threads:[~2008-06-05 21:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-01 12:15 How I can reset TCP sockets after long suspend/resume cyscle Maxim Levitsky
2008-06-04 15:34 ` Maxim Levitsky
2008-06-04 16:09 ` Adam Langley
2008-06-04 16:21 ` Stephen Hemminger
2008-06-04 21:00 ` Maxim Levitsky
2008-06-04 21:02 ` Rick Jones
2008-06-04 20:52 ` Maxim Levitsky
2008-06-04 21:15 ` Stephen Hemminger
2008-06-04 21:23 ` Rick Jones
2008-06-05 21:31 ` Maxim Levitsky
2008-06-05 21:50 ` Rick Jones [this message]
2008-06-06 8:37 ` Benny Amorsen
2008-06-06 9:27 ` Nadejda Levitsky
2008-06-05 7:13 ` Evgeniy Polyakov
2008-06-05 21:19 ` Maxim Levitsky
2008-06-05 22:20 ` Evgeniy Polyakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48485FAF.6010801@hp.com \
--to=rick.jones2@hp.com \
--cc=agl@imperialviolet.org \
--cc=maximlevitsky@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).