From: Amos Jeffries Date: Tue, 28 Jul 2015 13:38:07 +0000 (-0700) Subject: Update release notes about regex changes X-Git-Tag: M-staged-PR71~362^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5c09beb2d71536886df9c9f557382ffa529388d;p=thirdparty%2Fsquid.git Update release notes about regex changes --- diff --git a/doc/release-notes/release-4.sgml b/doc/release-notes/release-4.sgml index 47dbe9803a..a730d1ed97 100644 --- a/doc/release-notes/release-4.sgml +++ b/doc/release-notes/release-4.sgml @@ -120,8 +120,9 @@ This section gives a thorough account of those changes in three categories: acl

Due to differences between GNU Regex and libc regular expressions - patterns using the double quote (") character may now be rejected - by *_regex and regular expression based ACL types. + patterns escaping the double quote (") character escaped by a slash (\) + will now be rejected. Use without the escaping is still accepted. + This affects all *_regex and regular expression based ACL types. auth_param

New parameter queue-size= to set the maximum number @@ -163,8 +164,9 @@ This section gives a thorough account of those changes in three categories: performed by default with correct HTTP/1.1 revalidation.

Removed ignore-must-revalidate. Other more HTTP compliant directives can be used to prevent objects from caching. -

Due to differences between GNURegex and libc regular expressions - patterns using the double quote (") character may now be rejected. +

Due to differences between GNU Regex and libc regular expressions + patterns escaping the double quote (") character with a slash (\) + will now be rejected. Use without the escaping is still accepted. sslcrtd_children

New parameter queue-size= to set the maximum number @@ -257,6 +259,17 @@ This section gives an account of those changes in three categories: --enable-gnuregex

Squid now uses C++11 std::regex instead of GNU Regex. Removed. + LDFLAGS +

Squid now uses C++11 std::regex API instead of the C regex.h API. + This means that linker overrides for -lregex and regex.h no longer exist. +

Custom regex libraries need to provide bindings for the std::regex + API to link with Squid. This may require additional -I path to be + provided in CXXFLAGS to the library headers. Refer to the chosen + library documentation for more details. +

Note that popular modern high performance regex libraries should + already be used by the STL internal implementation and no longer + need manually linking. +