How to Set Stick Table Entry Expiry Based on HTTP Header in HAProxy

Hello everyone,

I am trying to update the expiry of stick table entries in HAProxy based on the value of a specific HTTP header. Specifically, I need to check if the header test contains the value 1, and if it does, set a new expiry time for the corresponding stick table entry.