Willy Tarreau
d4569d1937
BUG/MEDIUM: cache: don't cache the response on no-cache="set-cookie"
...
If the server mentions no-cache="set-cookie" in the response headers,
we must guarantee that any set-cookie field will not be stored. We
cannot edit the stored response on the fly to trim the set-cookie
header so we can refrain from storing a response containing such a
header. In theory we could use TX_SCK_PRESENT for this but this one
is only set when the cookie is being watched by the configuration.
Since these responses are not very frequent and often accompanied
with a set-cookie header, let's simply refrain from caching whenever
such directive is present.
This needs to be backported to 1.8.
2017-12-22 18:03:04 +01:00
..
2017-11-24 17:19:12 +01:00
2017-11-24 17:19:12 +01:00
2017-10-31 11:36:12 +01:00
2017-11-16 11:19:46 +01:00
2017-04-13 12:20:52 +02:00
2017-11-24 17:19:12 +01:00
2017-11-24 17:19:12 +01:00
2017-11-26 11:10:51 +01:00
2017-12-22 18:03:04 +01:00
2017-12-07 19:21:14 +01:00
2017-10-19 15:01:08 +02:00
2017-12-08 05:58:56 +01:00
2017-11-24 17:49:53 +01:00
2017-11-24 17:21:27 +01:00
2017-11-24 17:49:53 +01:00
2017-12-20 07:04:07 +01:00
2017-11-27 14:22:21 +01:00
2017-11-24 17:49:53 +01:00
2017-11-07 11:10:24 +01:00
2017-11-26 20:10:58 +01:00
2017-11-07 11:10:24 +01:00
2017-11-07 11:10:24 +01:00
2017-11-13 11:38:17 +01:00
2017-11-24 17:49:53 +01:00
2017-11-24 17:49:53 +01:00
2017-12-20 08:55:18 +01:00
2017-10-31 13:58:32 +01:00
2017-10-31 18:01:18 +01:00
2017-11-24 17:49:53 +01:00
2017-11-09 11:15:45 +01:00
2017-12-03 21:09:38 +01:00
2017-12-07 19:21:25 +01:00
2017-12-02 14:31:01 +01:00
2017-11-24 17:49:53 +01:00
2017-11-24 17:21:27 +01:00
2017-12-22 14:34:54 +01:00
2017-12-03 21:08:40 +01:00
2017-10-31 18:03:24 +01:00
2017-12-03 21:08:39 +01:00
2017-12-04 18:06:51 +01:00
2017-11-07 11:10:24 +01:00
2017-11-07 11:10:24 +01:00
2017-11-07 11:10:24 +01:00
2017-11-07 11:10:24 +01:00
2017-12-14 17:36:39 +01:00
2017-11-24 17:19:12 +01:00
2017-12-19 14:03:30 +01:00
2017-11-07 11:10:24 +01:00
2017-11-24 17:49:53 +01:00
2017-12-20 16:31:30 +01:00
2017-12-20 16:31:30 +01:00
2017-11-24 17:19:12 +01:00
2017-11-13 11:38:17 +01:00
2017-10-13 11:47:19 +02:00
2017-12-06 17:48:36 +01:00
2017-11-24 17:49:53 +01:00
2017-12-22 17:56:17 +01:00
2017-11-24 17:21:27 +01:00
2017-11-24 17:19:12 +01:00
2016-08-10 19:31:58 +02:00
2017-11-24 17:49:53 +01:00
2017-11-26 18:50:30 +01:00
2017-10-31 13:58:33 +01:00
2017-11-24 17:19:12 +01:00
2017-12-15 07:13:48 +01:00
2017-12-21 15:23:55 +01:00
2017-11-24 17:49:53 +01:00
2017-10-25 04:45:48 +02:00
2017-11-08 14:33:36 +01:00
2017-11-24 17:49:53 +01:00
2017-12-06 14:17:41 +01:00
2017-11-15 19:43:05 +01:00
2017-11-24 17:21:27 +01:00
2017-11-24 17:49:53 +01:00
2017-12-14 13:43:52 +01:00
2017-12-20 17:01:24 +01:00
2017-11-26 11:10:51 +01:00
2017-11-24 17:49:53 +01:00
2017-11-23 16:32:32 +01:00
2017-10-24 19:54:25 +02:00
2017-11-24 17:19:12 +01:00
2017-12-08 10:37:24 +01:00
2017-11-24 17:19:12 +01:00