On 27/07/2016 21:13, "Joe Stringer" wrote:
>On 27 July 2016 at 19:01, Daniele Di Proietto wrote:
>>
>>
>>
>>
>>
>> On 27/07/2016 17:14, "Joe Stringer" wrote:
>>
>>>On 26 July 2016 at 17:58, Daniele Di Proietto wrote:
This commit adds a thread that periodically removes expired connect
On 27 July 2016 at 19:01, Daniele Di Proietto wrote:
>
>
>
>
>
> On 27/07/2016 17:14, "Joe Stringer" wrote:
>
>>On 26 July 2016 at 17:58, Daniele Di Proietto wrote:
>>> This commit adds a thread that periodically removes expired connections.
>>>
>>> The expiration time of a connection can be exp
On 27/07/2016 17:14, "Joe Stringer" wrote:
>On 26 July 2016 at 17:58, Daniele Di Proietto wrote:
>> This commit adds a thread that periodically removes expired connections.
>>
>> The expiration time of a connection can be expressed by:
>>
>> expiration = now + timeout
>>
>> For each possibl
On 26 July 2016 at 17:58, Daniele Di Proietto wrote:
> This commit adds a thread that periodically removes expired connections.
>
> The expiration time of a connection can be expressed by:
>
> expiration = now + timeout
>
> For each possible 'timeout' value (there aren't many) we keep a list.
> Wh
This commit adds a thread that periodically removes expired connections.
The expiration time of a connection can be expressed by:
expiration = now + timeout
For each possible 'timeout' value (there aren't many) we keep a list.
When the expiration is updated, we move the connection to the back of