]> git.ipfire.org Git - thirdparty/squid.git/commit
Use AnyP::Uri to generate ASN request URI (#258) M-staged-PR258
authorAmos Jeffries <yadij@users.noreply.github.com>
Fri, 27 Jul 2018 00:12:11 +0000 (00:12 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sun, 29 Jul 2018 13:01:48 +0000 (13:01 +0000)
commit6f160e6fe209011cba1e8b9929302f2da82285d1
treea1b6542cbae204bcdda5b8ea607e6dbddf240811
parentf8432432a77535cd4ec0d34fff716e4bf7f467b2
Use AnyP::Uri to generate ASN request URI (#258)

Removes the fixed size asres c-string buffer the URL was
using by replacing with an SBuf and dynamic xstrdup().

Also, make AS_REQBUF_SZ configurable at build time with
-DAS_REQBUF_SZ=nn.

TODO: convert the store API to accept AnyP::Uri instead of
c-string will remove 1-2 memory reallocations.
src/acl/Asn.cc