]>
Commit | Line | Data |
---|---|---|
d8efad24 MF |
1 | ------------------------------------------------------------ |
2 | revno: 14068 | |
3 | revision-id: squid3@treenet.co.nz-20160723071930-cemledcltg8pkc28 | |
4 | parent: squid3@treenet.co.nz-20160723071620-1wzqpbyi1rk5w6vg | |
5 | fixes bug: http://bugs.squid-cache.org/show_bug.cgi?id=4542 | |
6 | author: Anonymous <bigparrot@pirateperfection.com> | |
7 | committer: Amos Jeffries <squid3@treenet.co.nz> | |
8 | branch nick: 3.5 | |
9 | timestamp: Sat 2016-07-23 19:19:30 +1200 | |
10 | message: | |
11 | Bug #4542: authentication credentials IP TTL updated incorrectly | |
12 | ------------------------------------------------------------ | |
13 | # Bazaar merge directive format 2 (Bazaar 0.90) | |
14 | # revision_id: squid3@treenet.co.nz-20160723071930-cemledcltg8pkc28 | |
15 | # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 | |
16 | # testament_sha1: ee0c6aab5414532d9554ef338cce049263902fd8 | |
17 | # timestamp: 2016-07-23 07:24:05 +0000 | |
18 | # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 | |
19 | # base_revision_id: squid3@treenet.co.nz-20160723071620-\ | |
20 | # 1wzqpbyi1rk5w6vg | |
21 | # | |
22 | # Begin patch | |
23 | === modified file 'src/auth/User.cc' | |
24 | --- src/auth/User.cc 2016-01-01 00:14:27 +0000 | |
25 | +++ src/auth/User.cc 2016-07-23 07:19:30 +0000 | |
26 | @@ -284,7 +284,7 @@ | |
27 | /* This ip has already been seen. */ | |
28 | found = 1; | |
29 | /* update IP ttl */ | |
30 | - ipdata->ip_expiretime = squid_curtime; | |
31 | + ipdata->ip_expiretime = squid_curtime + ::Config.authenticateIpTTL; | |
32 | } else if (ipdata->ip_expiretime <= squid_curtime) { | |
33 | /* This IP has expired - remove from the seen list */ | |
34 | dlinkDelete(&ipdata->node, &ip_list); | |
35 |