commit | cb18364ca71715dceb3664486047db83ddff0efc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jun 06 17:58:34 2010 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jun 14 15:10:26 2010 +0200 |
tree | f4324ecfe8443501b1895bdfc0e7af7d5fc2ce61 | |
parent | a975b8f381acc5a7486a8287d5ef6495dbd0b72b [diff] |
[MEDIUM] stick_table: separate storage and update of session entries When an entry already exists, we just need to update its expiration timer. Let's have a dedicated function for that instead of spreading open code everywhere. This change also ensures that an update of an existing sticky session really leads to an update of its expiration timer, which was apparently not the case till now. This point needs to be checked in 1.4.