On Tue, Nov 24, 2015 at 7:24 PM, William A Rowe Jr <wr...@rowe-clan.net> wrote: > > Well, there is another option, reject API bloat and insist that > users set LC_ALL="C" if they want httpd to behave correctly > and performantly.
Which API bloat? If we really want to avoid misleading anybody let's call the function ap_tokencmp[n](), no? (but I think casecmpstr[n]() is already quite clear about that...). Setting the locale to "C" is not always desirable, some modules need to work in unicode (UTF-8 or whatever), let's simply provide them helpers, and do the right thing on the HTTP side.