Re: [squid-dev] [PATCH] xstrndup has to go

2017-04-30 Thread Amos Jeffries
On 30/04/17 04:17, Alex Rousskov wrote: On 04/29/2017 02:33 AM, Amos Jeffries wrote: If that is too hard, making callers do the allocate bit themselves and xstrncpy() instead should be a good medium-term workaround. In general, it is impossible to correctly replace strndup() with a simple

Re: [squid-dev] A new 'has' ACL

2017-04-30 Thread Amos Jeffries
On 01/05/17 01:05, Eduard Bagdasaryan wrote: Hello, I am working on a new 'has' ACL: acl aclname has where "component" is one of the following three tokens: request, response, or ALE. For example: acl hasRequest has request Multiple components on one ACL line are not supported

[squid-dev] A new 'has' ACL

2017-04-30 Thread Eduard Bagdasaryan
Hello, I am working on a new 'has' ACL: acl aclname has where "component" is one of the following three tokens: request, response, or ALE. For example: acl hasRequest has request Multiple components on one ACL line are not supported because they would have to be ORed and ORing