On 24 June 2016 at 16:42, Daniele Di Proietto wrote:
> Thanks for your comments Joe, replies inline
>
>
>
> On 24/06/2016 15:29, "Joe Stringer" wrote:
>
>>On 10 June 2016 at 15:47, Daniele Di Proietto wrote:
>>> This commit adds a
Thanks for your comments Joe, replies inline
On 24/06/2016 15:29, "Joe Stringer" wrote:
>On 10 June 2016 at 15:47, Daniele Di Proietto wrote:
>> This commit adds a thread that periodically removes expired connections.
>>
>> The expiration time of a
On 10 June 2016 at 15:47, 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
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