httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <mar...@apache.org>
Subject Re: [PATCH] proxy/ajp_header.c: Fix header detection
Date Thu, 30 Aug 2007 16:32:10 GMT
On Thu, Aug 30, 2007 at 04:45:38PM +0200, Rainer Jung wrote:
> I committed Martins patch to mod_jk a couple of minutes ago.
> Thanks Martin!
> 
> The Content-Type part of the patch didn't apply to mod_jk though.
...
> >>-        if (memcmp(stringname, "Content-Type", 12) == 0) {
> >>+        if (strncasecmp(stringname, "Content-Type", 12) == 0) {

That is good, because it was wrong... Of course we need the
normal strcasecmp(stringname, "Content-Type"), not the one limited
to 12 chars (think of "Content-TypeXYZ").

Already committed to trunk.

  Martin
-- 
<Martin.Kraemer@Fujitsu-Siemens.com>        |     Fujitsu Siemens
http://www.fujitsu-siemens.com/imprint.html | 81730  Munich,  Germany

Mime
View raw message