Willy Tarreau
20020ae804
MINOR: chunk: add chunk_istcat() to concatenate an ist after a chunk
...
We previously relied on chunk_cat(dst, b_fromist(src)) for this but it
is not reliable as the allocated buffer is inside the expression and
may be on a temporary stack. While it's possible to allocate stack space
for a struct and return a pointer to it, it's not possible to initialize
it form a temporary variable to prevent arguments from being evaluated
multiple times. Since this is only used to append an ist after a chunk,
let's instead have a chunk_istcat() function to perform exactly this
from a native ist.
The only call place (URI computation in the cache) was updated.
2019-10-29 13:09:14 +01:00
..
2019-07-19 09:24:12 +02:00
2019-09-13 10:08:44 +02:00
2019-08-07 10:32:31 +02:00
2019-08-09 11:26:10 +02:00
2019-10-11 16:05:57 +02:00
2019-06-07 19:32:02 +02:00
2019-09-08 12:20:13 +02:00
2019-09-23 18:16:08 +02:00
2019-01-14 19:32:15 +01:00
2018-11-26 19:50:32 +01:00
2019-10-29 13:09:14 +01:00
2019-08-22 20:21:00 +02:00
2019-07-16 15:23:09 +02:00
2019-10-18 15:18:52 +02:00
2019-10-18 09:04:02 +02:00
2019-01-02 20:12:44 +01:00
2019-09-24 10:59:55 +02:00
2019-06-07 15:37:47 +02:00
2019-10-25 22:00:49 +02:00
2019-05-20 21:14:14 +02:00
2019-09-06 17:50:36 +02:00
2019-07-19 09:24:12 +02:00
2019-10-25 10:10:07 +02:00
2019-06-11 09:54:12 +02:00
2019-10-22 13:44:12 +02:00
2019-09-06 19:09:56 +02:00
2019-09-23 19:08:39 +02:00
2019-09-06 19:09:56 +02:00
2019-09-06 19:09:56 +02:00
2019-09-06 19:09:56 +02:00
2019-09-27 22:48:27 +02:00
2019-09-17 10:18:54 +02:00
2019-09-05 09:31:18 +02:00
2019-09-10 10:29:54 +02:00
2019-09-17 10:18:54 +02:00
2019-10-29 10:33:13 +01:00
2019-07-19 09:24:12 +02:00
2017-10-31 18:01:18 +01:00
2019-07-19 13:50:09 +02:00
2019-10-14 22:28:50 +02:00
2019-10-14 22:28:50 +02:00
2019-10-09 11:10:19 +02:00
2019-10-17 11:36:22 +02:00
2018-03-21 05:04:01 +01:00
2019-10-17 07:15:17 +02:00
2019-10-10 11:30:07 +02:00
2019-09-30 04:11:36 +02:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2019-04-01 07:44:56 +02:00
2018-11-26 19:50:32 +01:00
2019-07-19 09:24:12 +02:00
2019-10-16 10:03:12 +02:00
2018-11-26 19:50:32 +01:00
2019-10-14 22:28:50 +02:00
2019-10-16 10:03:12 +02:00
2019-07-19 09:24:12 +02:00
2019-10-09 11:05:31 +02:00
2019-10-14 22:28:50 +02:00
2019-08-01 11:35:29 +02:00
2019-07-05 14:26:15 +02:00
2019-09-06 17:13:44 +02:00
2019-05-27 10:29:59 +02:00
2019-03-11 17:02:38 +01:00
2019-09-24 06:57:32 +02:00
2019-09-17 10:18:54 +02:00
2016-01-11 07:31:35 +01:00
2019-08-09 11:26:10 +02:00
2019-07-09 10:40:33 +02:00
2019-10-08 16:28:30 +02:00
2019-10-16 10:03:12 +02:00
2019-10-26 08:24:45 +02:00
2019-10-18 14:18:29 +02:00
2019-07-15 16:43:16 +02:00
2019-06-22 07:57:56 +02:00
2019-09-25 23:33:52 +02:00
2019-10-23 07:27:25 +02:00
2019-07-19 09:24:12 +02:00
2019-08-09 11:26:10 +02:00
2019-04-15 21:55:48 +02:00
2019-07-24 16:45:02 +02:00
2019-10-24 10:25:00 +02:00
2016-04-14 11:18:22 +02:00
2019-09-06 17:50:36 +02:00
2019-07-24 16:45:02 +02:00
2019-10-18 21:45:42 +02:00
2019-07-30 14:02:06 +02:00
2019-09-06 17:50:36 +02:00
2019-05-07 06:58:15 +02:00
2019-08-30 15:07:25 +02:00
2019-10-21 15:49:42 +02:00
2019-10-21 16:00:24 +02:00
2019-07-31 14:12:55 +02:00
2019-04-01 07:44:56 +02:00
2018-12-02 18:40:29 +01:00
2018-12-02 18:39:52 +01:00
2019-09-26 08:13:38 +02:00
2019-10-29 10:50:22 +01:00
2019-10-29 10:19:34 +01:00
2019-10-24 18:38:00 +02:00
2019-10-23 06:24:58 +02:00
2019-10-26 08:24:45 +02:00
2019-09-27 08:48:21 +02:00
2019-10-11 16:37:41 +02:00
2019-07-19 09:24:12 +02:00
2019-09-26 08:13:38 +02:00
2019-08-30 07:39:59 +02:00
2019-10-10 11:30:07 +02:00
2019-07-19 09:24:12 +02:00
2019-10-16 09:56:57 +02:00
2019-10-17 07:15:17 +02:00
2019-10-15 10:47:31 +02:00
2019-06-14 14:42:29 +02:00
2019-04-01 07:44:56 +02:00