httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r358769 - /httpd/httpd/trunk/modules/proxy/ajp_header.c
Date Fri, 23 Dec 2005 08:36:23 GMT
Author: mturk
Date: Fri Dec 23 00:36:18 2005
New Revision: 358769

URL: http://svn.apache.org/viewcvs?rev=358769&view=rev
Log:
Fix Cookie2 header problems that originates back
from mod_jk. Cookie2 was always sent as Cookie.

Modified:
    httpd/httpd/trunk/modules/proxy/ajp_header.c

Modified: httpd/httpd/trunk/modules/proxy/ajp_header.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/ajp_header.c?rev=358769&r1=358768&r2=358769&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/ajp_header.c (original)
+++ httpd/httpd/trunk/modules/proxy/ajp_header.c Fri Dec 23 00:36:18 2005
@@ -87,7 +87,9 @@
                 return UNKNOWN_METHOD;
         break;
         case 'C':
-            if (memcmp(p, "OOKIE", 5) == 0)
+            if(memcmp(p, "OOKIE2", 6) == 0)
+                return SC_COOKIE2;
+            else if (memcmp(p, "OOKIE", 5) == 0)
                 return SC_COOKIE;
             else if(memcmp(p, "ONNECTION", 9) == 0)
                 return SC_CONNECTION;
@@ -95,8 +97,6 @@
                 return SC_CONTENT_TYPE;
             else if(memcmp(p, "ONTENT-LENGTH", 13) == 0)
                 return SC_CONTENT_LENGTH;
-            else if(memcmp(p, "OOKIE2", 6) == 0)
-                return SC_COOKIE2;
             else
                 return UNKNOWN_METHOD;
         break;



Mime
View raw message