Stick table expire

Hello,

We would like to know how the stick table expire works.

If for example we set the expiry to 8 hours, what if a client connects again after 4 hours, would it still keep the record for 4 hours or another 8 hours?

Best regards,
Bas

As always, those details are in the docs:

http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-stick-table

<expire>   defines the maximum duration of an entry in the table since it
           was last created, refreshed or matched.

It would retain for maximum duration