Skip to content

Commit 795cbc3

Browse files
committed
2026-04-23
1 parent 76fe7ea commit 795cbc3

8 files changed

Lines changed: 346 additions & 20 deletions

File tree

squid-dev/2026-April.txt

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3284,3 +3284,132 @@ Kind regards,
32843284
An HTML attachment was scrubbed...
32853285
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20260422/1d8664a6/attachment.htm>
32863286

3287+
From rousskov at measurement-factory.com Thu Apr 23 13:42:56 2026
3288+
From: rousskov at measurement-factory.com (Alex Rousskov)
3289+
Date: Thu, 23 Apr 2026 09:42:56 -0400
3290+
Subject: [squid-dev] Proposal: Helper response: concatenated values with
3291+
custom delimiter
3292+
In-Reply-To: <CADJd0Y3dcvhy29RBP5_upzGOJXPFryLzq_CvzU2Yq_Q33oQt6w@mail.gmail.com>
3293+
References: <CADJd0Y2fXgTkm4nCQw4WqymYFWY0EDUPk_bifHh2bhKvZYC8XQ@mail.gmail.com>
3294+
<4a1febf2-bc80-4088-93f6-0d4835c0b9ea@measurement-factory.com>
3295+
<e06eec20-edf3-4e0c-85f1-525364ddeb2b@treenet.co.nz>
3296+
<35430c76-dbda-436c-b015-0214c5b4c352@measurement-factory.com>
3297+
<CADJd0Y3dcvhy29RBP5_upzGOJXPFryLzq_CvzU2Yq_Q33oQt6w@mail.gmail.com>
3298+
Message-ID: <69f29587-3d53-40b8-ae4d-a6fb054933e5@measurement-factory.com>
3299+
3300+
On 2026-04-22 07:24, Andrey K wrote:
3301+
> Hello, Amos and Alex,
3302+
>
3303+
> Thank you for the discussion and the proposed formats.
3304+
>
3305+
> Since we already support the
3306+
> ? ? key=v1 key=v2
3307+
> format, and the
3308+
> ? ? key=v1,v2
3309+
> format is currently undocumented, I think we should answer two questions
3310+
> first:
3311+
>
3312+
> 1. Do we really need to support list-values? It seems Alex thinks we
3313+
> might not need them at all.
3314+
3315+
If you have to ask, then the answer is "no" or "not yet": We need a very
3316+
compelling use case to add a "list-values" optimization (when we already
3317+
support lists of values). Since you are not sure, and you were the only
3318+
one making/wanting related changes (AFAICT), we evidently lack such a
3319+
case today.
3320+
3321+
Rule of thumb: Avoid complex optimizations until their expense can be
3322+
justified by a use case (that can also guide their implementation).
3323+
3324+
3325+
> 2. If we do, is a comma enough as the default separator?
3326+
3327+
It is enough as a starting point _if_ we preserve the possibility of
3328+
adding reasonable support for other separators without breaking any
3329+
existing (at that time) helpers.
3330+
3331+
3332+
> I believe we should settle these points before designing a new format
3333+
> for value lists.
3334+
3335+
I agree. Moreover, if the answer to the first question is "no" (or "not
3336+
yet"), then we do not need to answer the second question (now).
3337+
3338+
3339+
Cheers,
3340+
3341+
Alex.
3342+
3343+
3344+
> ??, 22 ???. 2026??. ? 00:17, Alex Rousskov:
3345+
>
3346+
> On 2026-04-21 15:57, Amos Jeffries wrote:
3347+
>
3348+
> > The helper protocol documents ',' as list delimiter
3349+
>
3350+
> Where do we document ',' as a delimiter for annotation values in helper
3351+
> responses? I cannot find any such text on AddonHelpers page or inside
3352+
> cf.data.pre.
3353+
>
3354+
> > On 22/04/2026 03:11, Alex Rousskov wrote:
3355+
> >> [ If there is a real, serious need to optimize that existing
3356+
> support,
3357+
> >> then ] can we invent another syntax that will not result in
3358+
> >> mishandling any existing helper annotation (that is not treated
3359+
> as a
3360+
> >> list today)? For example, perhaps we can use isKeyNameChar()
3361+
> >> restrictions to place the delimiter first, before the annotation
3362+
> name?
3363+
> >>
3364+
> >> ???? (m=,)name=value1,value2
3365+
> >>
3366+
> >
3367+
> > Hmm.? When I combine that idea with older proposals floated about
3368+
> > kv-pair append/replace syntax there are some nice implications.
3369+
> >
3370+
> > How about this:
3371+
> >
3372+
> > 1) change of kv-pair grammar to:
3373+
> >
3374+
> >? ?? kv-pair = [ '_' ] key [ flag ] '=' ( value / list )
3375+
>
3376+
> Yes, AFAICT, placing handling instructions _after_ the key should also
3377+
> work (for the same isKeyNameChar) reason) and is more aesthetically
3378+
> pleasing than my sketch above.
3379+
>
3380+
> If we really have to add this new feature, then I would probably use
3381+
> curly braces for these optional instructions, to make it similar to our
3382+
> logformat %codes:
3383+
>
3384+
> ? ? ?name{...}=value...
3385+
>
3386+
> For example:
3387+
>
3388+
> ? ? ?name{m}=value1,value2
3389+
>
3390+
> or
3391+
>
3392+
> ? ? ?name{m=:}=value1:value2
3393+
>
3394+
>
3395+
> > * flag does not need to be limited to a single character. It
3396+
> could be
3397+
> > several.
3398+
>
3399+
> Any syntax should allow adding safe, backward-compatible support for
3400+
> additional/complex instructions in the future, of course, including
3401+
> multiple instructions.
3402+
>
3403+
>
3404+
> HTH,
3405+
>
3406+
> Alex.
3407+
>
3408+
> _______________________________________________
3409+
> squid-dev mailing list
3410+
> squid-dev at lists.squid-cache.org <mailto:squid-dev at lists.squid-cache.org>
3411+
> https://lists.squid-cache.org/listinfo/squid-dev
3412+
> <https://lists.squid-cache.org/listinfo/squid-dev>
3413+
>
3414+
3415+

squid-dev/2026-April/010034.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</style>
1414
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
1515
<LINK REL="Previous" HREF="010032.html">
16-
16+
<LINK REL="Next" HREF="010035.html">
1717
</HEAD>
1818
<BODY BGCOLOR="#ffffff">
1919
<H1>[squid-dev] Proposal: Helper response: concatenated values with custom delimiter</H1>
@@ -25,7 +25,8 @@ <H1>[squid-dev] Proposal: Helper response: concatenated values with custom delim
2525
<P><UL>
2626
<LI>Previous message (by thread): <A HREF="010032.html">[squid-dev] Proposal: Helper response: concatenated values with custom delimiter
2727
</A></li>
28-
28+
<LI>Next message (by thread): <A HREF="010035.html">[squid-dev] Proposal: Helper response: concatenated values with custom delimiter
29+
</A></li>
2930
<LI> <B>Messages sorted by:</B>
3031
<a href="date.html#10034">[ date ]</a>
3132
<a href="thread.html#10034">[ thread ]</a>
@@ -130,13 +131,15 @@ <H1>[squid-dev] Proposal: Helper response: concatenated values with custom delim
130131
URL: &lt;<A HREF="http://lists.squid-cache.org/pipermail/squid-dev/attachments/20260422/1d8664a6/attachment.htm">http://lists.squid-cache.org/pipermail/squid-dev/attachments/20260422/1d8664a6/attachment.htm</A>&gt;
131132
</PRE>
132133

134+
133135
<!--endarticle-->
134136
<HR>
135137
<P><UL>
136138
<!--threads-->
137139
<LI>Previous message (by thread): <A HREF="010032.html">[squid-dev] Proposal: Helper response: concatenated values with custom delimiter
138140
</A></li>
139-
141+
<LI>Next message (by thread): <A HREF="010035.html">[squid-dev] Proposal: Helper response: concatenated values with custom delimiter
142+
</A></li>
140143
<LI> <B>Messages sorted by:</B>
141144
<a href="date.html#10034">[ date ]</a>
142145
<a href="thread.html#10034">[ thread ]</a>

squid-dev/2026-April/010035.html

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2+
<HTML>
3+
<HEAD>
4+
<TITLE> [squid-dev] Proposal: Helper response: concatenated values with custom delimiter
5+
</TITLE>
6+
<LINK REL="Index" HREF="index.html" >
7+
<LINK REL="made" HREF="mailto:squid-dev%40lists.squid-cache.org?Subject=Re%3A%20%5Bsquid-dev%5D%20Proposal%3A%20Helper%20response%3A%20concatenated%20values%20with%0A%20custom%20delimiter&In-Reply-To=%3C69f29587-3d53-40b8-ae4d-a6fb054933e5%40measurement-factory.com%3E">
8+
<META NAME="robots" CONTENT="index,nofollow">
9+
<style type="text/css">
10+
pre {
11+
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
12+
}
13+
</style>
14+
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
15+
<LINK REL="Previous" HREF="010034.html">
16+
17+
</HEAD>
18+
<BODY BGCOLOR="#ffffff">
19+
<H1>[squid-dev] Proposal: Helper response: concatenated values with custom delimiter</H1>
20+
<B>Alex Rousskov</B>
21+
<A HREF="mailto:squid-dev%40lists.squid-cache.org?Subject=Re%3A%20%5Bsquid-dev%5D%20Proposal%3A%20Helper%20response%3A%20concatenated%20values%20with%0A%20custom%20delimiter&In-Reply-To=%3C69f29587-3d53-40b8-ae4d-a6fb054933e5%40measurement-factory.com%3E"
22+
TITLE="[squid-dev] Proposal: Helper response: concatenated values with custom delimiter">rousskov at measurement-factory.com
23+
</A><BR>
24+
<I>Thu Apr 23 13:42:56 UTC 2026</I>
25+
<P><UL>
26+
<LI>Previous message (by thread): <A HREF="010034.html">[squid-dev] Proposal: Helper response: concatenated values with custom delimiter
27+
</A></li>
28+
29+
<LI> <B>Messages sorted by:</B>
30+
<a href="date.html#10035">[ date ]</a>
31+
<a href="thread.html#10035">[ thread ]</a>
32+
<a href="subject.html#10035">[ subject ]</a>
33+
<a href="author.html#10035">[ author ]</a>
34+
</LI>
35+
</UL>
36+
<HR>
37+
<!--beginarticle-->
38+
<PRE>On 2026-04-22 07:24, Andrey K wrote:
39+
&gt;<i> Hello, Amos and Alex,
40+
</I>&gt;<i>
41+
</I>&gt;<i> Thank you for the discussion and the proposed formats.
42+
</I>&gt;<i>
43+
</I>&gt;<i> Since we already support the
44+
</I>&gt;<i> &#160; &#160; key=v1 key=v2
45+
</I>&gt;<i> format, and the
46+
</I>&gt;<i> &#160; &#160; key=v1,v2
47+
</I>&gt;<i> format is currently undocumented, I think we should answer two questions
48+
</I>&gt;<i> first:
49+
</I>&gt;<i>
50+
</I>&gt;<i> 1. Do we really need to support list-values? It seems Alex thinks we
51+
</I>&gt;<i> might not need them at all.
52+
</I>
53+
If you have to ask, then the answer is &quot;no&quot; or &quot;not yet&quot;: We need a very
54+
compelling use case to add a &quot;list-values&quot; optimization (when we already
55+
support lists of values). Since you are not sure, and you were the only
56+
one making/wanting related changes (AFAICT), we evidently lack such a
57+
case today.
58+
59+
Rule of thumb: Avoid complex optimizations until their expense can be
60+
justified by a use case (that can also guide their implementation).
61+
62+
63+
&gt;<i> 2. If we do, is a comma enough as the default separator?
64+
</I>
65+
It is enough as a starting point _if_ we preserve the possibility of
66+
adding reasonable support for other separators without breaking any
67+
existing (at that time) helpers.
68+
69+
70+
&gt;<i> I believe we should settle these points before designing a new format
71+
</I>&gt;<i> for value lists.
72+
</I>
73+
I agree. Moreover, if the answer to the first question is &quot;no&quot; (or &quot;not
74+
yet&quot;), then we do not need to answer the second question (now).
75+
76+
77+
Cheers,
78+
79+
Alex.
80+
81+
82+
&gt;<i> &#1089;&#1088;, 22 &#1072;&#1087;&#1088;. 2026&#8239;&#1075;. &#1074; 00:17, Alex Rousskov:
83+
</I>&gt;<i>
84+
</I>&gt;<i> On 2026-04-21 15:57, Amos Jeffries wrote:
85+
</I>&gt;<i>
86+
</I>&gt;<i> &gt; The helper protocol documents ',' as list delimiter
87+
</I>&gt;<i>
88+
</I>&gt;<i> Where do we document ',' as a delimiter for annotation values in helper
89+
</I>&gt;<i> responses? I cannot find any such text on AddonHelpers page or inside
90+
</I>&gt;<i> cf.data.pre.
91+
</I>&gt;<i>
92+
</I>&gt;<i> &gt; On 22/04/2026 03:11, Alex Rousskov wrote:
93+
</I>&gt;<i> &gt;&gt; [ If there is a real, serious need to optimize that existing
94+
</I>&gt;<i> support,
95+
</I>&gt;<i> &gt;&gt; then ] can we invent another syntax that will not result in
96+
</I>&gt;<i> &gt;&gt; mishandling any existing helper annotation (that is not treated
97+
</I>&gt;<i> as a
98+
</I>&gt;<i> &gt;&gt; list today)? For example, perhaps we can use isKeyNameChar()
99+
</I>&gt;<i> &gt;&gt; restrictions to place the delimiter first, before the annotation
100+
</I>&gt;<i> name?
101+
</I>&gt;<i> &gt;&gt;
102+
</I>&gt;<i> &gt;&gt; &#160;&#160;&#160;&#160; (m=,)name=value1,value2
103+
</I>&gt;<i> &gt;&gt;
104+
</I>&gt;<i> &gt;
105+
</I>&gt;<i> &gt; Hmm.&#160; When I combine that idea with older proposals floated about
106+
</I>&gt;<i> &gt; kv-pair append/replace syntax there are some nice implications.
107+
</I>&gt;<i> &gt;
108+
</I>&gt;<i> &gt; How about this:
109+
</I>&gt;<i> &gt;
110+
</I>&gt;<i> &gt; 1) change of kv-pair grammar to:
111+
</I>&gt;<i> &gt;
112+
</I>&gt;<i> &gt;&#160; &#160;&#160; kv-pair = [ '_' ] key [ flag ] '=' ( value / list )
113+
</I>&gt;<i>
114+
</I>&gt;<i> Yes, AFAICT, placing handling instructions _after_ the key should also
115+
</I>&gt;<i> work (for the same isKeyNameChar) reason) and is more aesthetically
116+
</I>&gt;<i> pleasing than my sketch above.
117+
</I>&gt;<i>
118+
</I>&gt;<i> If we really have to add this new feature, then I would probably use
119+
</I>&gt;<i> curly braces for these optional instructions, to make it similar to our
120+
</I>&gt;<i> logformat %codes:
121+
</I>&gt;<i>
122+
</I>&gt;<i> &#160; &#160; &#160;name{...}=value...
123+
</I>&gt;<i>
124+
</I>&gt;<i> For example:
125+
</I>&gt;<i>
126+
</I>&gt;<i> &#160; &#160; &#160;name{m}=value1,value2
127+
</I>&gt;<i>
128+
</I>&gt;<i> or
129+
</I>&gt;<i>
130+
</I>&gt;<i> &#160; &#160; &#160;name{m=:}=value1:value2
131+
</I>&gt;<i>
132+
</I>&gt;<i>
133+
</I>&gt;<i> &gt; * flag does not need to be limited to a single character. It
134+
</I>&gt;<i> could be
135+
</I>&gt;<i> &gt; several.
136+
</I>&gt;<i>
137+
</I>&gt;<i> Any syntax should allow adding safe, backward-compatible support for
138+
</I>&gt;<i> additional/complex instructions in the future, of course, including
139+
</I>&gt;<i> multiple instructions.
140+
</I>&gt;<i>
141+
</I>&gt;<i>
142+
</I>&gt;<i> HTH,
143+
</I>&gt;<i>
144+
</I>&gt;<i> Alex.
145+
</I>&gt;<i>
146+
</I>&gt;<i> _______________________________________________
147+
</I>&gt;<i> squid-dev mailing list
148+
</I>&gt;<i> <A HREF="https://lists.squid-cache.org/listinfo/squid-dev">squid-dev at lists.squid-cache.org</A> &lt;mailto:<A HREF="https://lists.squid-cache.org/listinfo/squid-dev">squid-dev at lists.squid-cache.org</A>&gt;
149+
</I>&gt;<i> <A HREF="https://lists.squid-cache.org/listinfo/squid-dev">https://lists.squid-cache.org/listinfo/squid-dev</A>
150+
</I>&gt;<i> &lt;<A HREF="https://lists.squid-cache.org/listinfo/squid-dev">https://lists.squid-cache.org/listinfo/squid-dev</A>&gt;
151+
</I>&gt;<i>
152+
</I>
153+
</PRE>
154+
155+
<!--endarticle-->
156+
<HR>
157+
<P><UL>
158+
<!--threads-->
159+
<LI>Previous message (by thread): <A HREF="010034.html">[squid-dev] Proposal: Helper response: concatenated values with custom delimiter
160+
</A></li>
161+
162+
<LI> <B>Messages sorted by:</B>
163+
<a href="date.html#10035">[ date ]</a>
164+
<a href="thread.html#10035">[ thread ]</a>
165+
<a href="subject.html#10035">[ subject ]</a>
166+
<a href="author.html#10035">[ author ]</a>
167+
</LI>
168+
</UL>
169+
170+
<hr>
171+
<a href="https://lists.squid-cache.org/listinfo/squid-dev">More information about the squid-dev
172+
mailing list</a><br>
173+
</body></html>

squid-dev/2026-April/author.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h1>April 2026 Archives by author</h1>
1919
</a></b></li>
2020
</ul>
2121
<p><b>Starting:</b> <i>Wed Apr 1 16:12:37 UTC 2026</i><br>
22-
<b>Ending:</b> <i>Wed Apr 22 11:24:13 UTC 2026</i><br>
23-
<b>Messages:</b> 36<p>
22+
<b>Ending:</b> <i>Thu Apr 23 13:42:56 UTC 2026</i><br>
23+
<b>Messages:</b> 37<p>
2424
<ul>
2525

2626
<LI><A HREF="010018.html">[squid-dev] NO_SPECIAL_HANDLING define for HTTP methods
@@ -201,13 +201,18 @@ <h1>April 2026 Archives by author</h1>
201201
<LI><A HREF="010031.html">[squid-dev] Proposal: Helper response: concatenated values with custom delimiter
202202
</A><A NAME="10031">&nbsp;</A>
203203
<I>Alex Rousskov
204+
</I>
205+
206+
<LI><A HREF="010035.html">[squid-dev] Proposal: Helper response: concatenated values with custom delimiter
207+
</A><A NAME="10035">&nbsp;</A>
208+
<I>Alex Rousskov
204209
</I>
205210

206211
</ul>
207212
<p>
208213
<a name="end"><b>Last message date:</b></a>
209-
<i>Wed Apr 22 11:24:13 UTC 2026</i><br>
210-
<b>Archived on:</b> <i>Wed Apr 22 11:24:26 UTC 2026</i>
214+
<i>Thu Apr 23 13:42:56 UTC 2026</i><br>
215+
<b>Archived on:</b> <i>Thu Apr 23 13:43:00 UTC 2026</i>
211216
<p>
212217
<ul>
213218
<li> <b>Messages sorted by:</b>

0 commit comments

Comments
 (0)