Premature ctrl+enter... sorry about that...
+#if !APR_VERSION_AT_LEAST(1,6,0) > +/** > + * Known-fast version of strcasecmp(): ASCII case-folding, POSIX compliant > + * @param s1 The 1st string to compare > + * @param s2 The 2nd string to compare > + * @return 0 if s1 is lexicographically equal to s2 ignoring case; > + * non-0 otherwise. > + */ > +#define apr_cstr_casecmp(s1, s2) ap_cstr_casecmp(s1, s2) > ++/** * Known-fast version of strcasecmp(): ASCII case-folding, POSIX > compliant > +AP_DECLARE(int) ap_cstr_casecmp(const char *s1, const char *s2); > > On Thu, May 26, 2016 at 3:52 AM, <jaillet...@apache.org> wrote: > >> Author: jailletc36 >> Date: Thu May 26 08:52:09 2016 >> New Revision: 1745582 >> >> URL: http://svn.apache.org/viewvc?rev=1745582&view=rev >> Log: >> Proposal >> >> Modified: >> httpd/httpd/branches/2.4.x/STATUS >> >> Modified: httpd/httpd/branches/2.4.x/STATUS >> URL: >> http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/STATUS?rev=1745582&r1=1745581&r2=1745582&view=diff >> >> ============================================================================== >> --- httpd/httpd/branches/2.4.x/STATUS (original) >> +++ httpd/httpd/branches/2.4.x/STATUS Thu May 26 08:52:09 2016 >> @@ -188,6 +188,21 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK: >> 2.4.x patch: trunk works >> +1: jailletc36, >> >> + *) core: ASCII string comparison functions optimized speed. >> + This proposal includes and renames ap_casecmpstr[n] functions >> available >> + in trunk. >> + The proposed names are the ones used in APR for the same kind of >> functions. >> + In order to avoid some new ap_ functions (which are just copies of >> what is >> + available in APR 1.6.0+), I propose to use exactly the same names >> and only >> + declare and define the functions in httpd if not available in APR. >> + The same approach has already been used for apr_time_from_msec() >> for example. >> + Also note that the implementation in APR and in httpd are slighly >> different. >> + If/when aggreed on this backport and function names in httpd, then >> trunk should >> + be upgraded accordingly. Uses of the functions could then be >> backported. >> + trunk patch: ? >> + 2.4.x patch: >> http://home.apache.org/~jailletc36/apr_cstr_casecmp.diff >> + +1: jailletc36, >> + >> PATCHES/ISSUES THAT ARE BEING WORKED >> >> *) http: Don't remove the Content-Length of zero from a HEAD response >> if >> >> >> >