<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/src/EvictSocketPoolCommand.h, branch dynamic-select-file</title>
<subtitle>Aria2 download utility with uTP support</subtitle>
<id>http://x-nagi.com/cgit/aria2/atom?h=dynamic-select-file</id>
<link rel='self' href='http://x-nagi.com/cgit/aria2/atom?h=dynamic-select-file'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/'/>
<updated>2015-11-11T13:31:00Z</updated>
<entry>
<title>Evict timed out pooled socket periodically</title>
<updated>2015-11-11T13:31:00Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-11-11T13:31:00Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=af98861aff50737f87d9c251ee9a68280bba3e64'/>
<id>urn:sha1:af98861aff50737f87d9c251ee9a68280bba3e64</id>
<content type='text'>
Previously we only scanned pool socket to check they are timed out
when we pooled another socket.  This means that pooled socket is not
closed long time (stays in CLOSE-WAIT state) if we don't pool any more
socket.  In this commit, we now check pooled socket periodically (30
seconds) to avoid the sockets hanging in CLOSE-WAIT state long time.

See GH-477
</content>
</entry>
</feed>
