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
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
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
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
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