summaryrefslogtreecommitdiffstats
path: root/pylint_plugins.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2017-03-23 17:49:27 -0400
committerSimo Sorce <simo@redhat.com>2017-03-24 11:50:37 -0400
commitf6817cae5e7435ef25be13bddf24a3c33b5623b9 (patch)
tree3d645faf0cba0850e02561175c4c1bc1a2d58f63 /pylint_plugins.py
parentef5948b9bcb49335929f6a6fb62f19b611c2a57d (diff)
downloadfreeipa-clisesshandling.tar.gz
freeipa-clisesshandling.tar.xz
freeipa-clisesshandling.zip
Prevent churn on ccachesclisesshandling
We slice down the received cookie so that just the content that matter is preserved. Thi is ok because servers can't trust anything else anyway and will accept a cookie with the ancillary data missing. By removing variable parts like the expiry component added by mod_session or the Expiration or Max-Age metadata we keep only the part of the cookie that changes only when a new session is generated. This way when storing the cookie we actually add a new entry in the ccache only when the session actually changes, and this prevents churn on FILE based ccaches. Related https://pagure.io/freeipa/issue/6775 Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'pylint_plugins.py')
0 files changed, 0 insertions, 0 deletions