* Video connection timeout
@ 2011-05-13 21:58 jobhunts02
2011-05-13 22:10 ` Grant Taylor
0 siblings, 1 reply; 2+ messages in thread
From: jobhunts02 @ 2011-05-13 21:58 UTC (permalink / raw)
To: netfilter@vger.kernel.org
When I have video running and the video stops, I see that the connection is destroyed in about 5 seconds, which is what I want.
If, rather than stopping the video, I pull the plug, I have seen it take 350 and 380 seconds before the connection is destroyed.
Why is there such a large difference in the time to destroy a video connection between stopping the video and pulling the plug on it? How can I shorten the time for the connection to get destroyed when pulling the plug?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Video connection timeout
2011-05-13 21:58 Video connection timeout jobhunts02
@ 2011-05-13 22:10 ` Grant Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Grant Taylor @ 2011-05-13 22:10 UTC (permalink / raw)
To: Mail List - Netfilter
On 05/13/11 16:58, jobhunts02@aol.com wrote:
> When I have video running and the video stops, I see that the
> connection is destroyed in about 5 seconds, which is what I want.
>
> If, rather than stopping the video, I pull the plug, I have seen it
> take 350 and 380 seconds before the connection is destroyed.
Are you talking about how long it takes for the connection / socket to
close on the system? (I.e. netstat / ss show the connection.)
(For the sake of conversation, I'm assuming that I'm correct.)
> Why is there such a large difference in the time to destroy a video
> connection between stopping the video and pulling the plug on it?
If a video finishes it's playback and the player realizes that the video
stream is finished, the player can issue the proper sequence to close
the connection. Where as if the player is in the middle of a stream and
the data stops, the player will likely wait for a timeout (coded in the
player) before giving up and aborting the playback.
> How can I shorten the time for the connection to get destroyed when
> pulling the plug?--
I don't know that there is much that you can do other than trying to
close the connection (TCP Reset / ICMP Host Unreachable / etc.) to
artificially cause the player to terminate playback early.
Grant. . . .
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-13 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-13 21:58 Video connection timeout jobhunts02
2011-05-13 22:10 ` Grant Taylor
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).