RE: Query for authorization username

2021-10-26 Thread Justin Lloyd
quot;, "\1")), ":.*$", "" ); Best, Justin From: Guillaume Quintard Sent: Monday, October 25, 2021 2:58 PM To: Justin Lloyd Cc: varnish-misc@varnish-cache.org Subject: Re: Query for authorization

Re: Query for authorization username

2021-10-25 Thread Guillaume Quintard
I think it's close to optimal, given the current tools. I would probably try to move away from regsub() and use vmod_str ( https://github.com/varnish/varnish-modules/blob/master/src/vmod_str.vcc#L42), and maaybe use multiple assignments rather than on big expressions, but that's a personal