Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 1047 invoked by uid 500); 7 Feb 2001 23:47:19 -0000 Delivered-To: apmail-jakarta-tomcat-cvs@apache.org Received: (qmail 1040 invoked by uid 1002); 7 Feb 2001 23:47:16 -0000 Date: 7 Feb 2001 23:47:16 -0000 Message-ID: <20010207234716.1039.qmail@apache.org> From: keith@apache.org To: jakarta-tomcat-cvs@apache.org Subject: cvs commit: jakarta-tomcat/src/native/mod_jk/common jk_ajp13.c keith 01/02/07 15:47:15 Modified: src/native/mod_jk/common jk_ajp13.c Log: Add the ACL method to ajpv13 (see http://www.ietf.org/internet-drafts/draft-ietf-webdav-acl-04.txt) Revision Changes Path 1.5 +7 -3 jakarta-tomcat/src/native/mod_jk/common/jk_ajp13.c Index: jk_ajp13.c =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/native/mod_jk/common/jk_ajp13.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- jk_ajp13.c 2001/01/30 05:38:34 1.4 +++ jk_ajp13.c 2001/02/07 23:47:12 1.5 @@ -56,7 +56,7 @@ /*************************************************************************** * Description: Experimental bi-directionl protocol handler. * * Author: Gal Shachor * - * Version: $Revision: 1.4 $ * + * Version: $Revision: 1.5 $ * ***************************************************************************/ @@ -82,8 +82,8 @@ /* * Request methods, coded as numbers instead of strings. - * The list of methods was taken from Section 5.1.1 of RFC 2616 - * and RFC 2518 + * The list of methods was taken from Section 5.1.1 of RFC 2616, + * RFC 2518, and the ACL IETF draft. * Method = "OPTIONS" * | "GET" * | "HEAD" @@ -98,6 +98,7 @@ * | "MOVE" * | "LOCK" * | "UNLOCK" + * | "ACL" * */ #define SC_M_OPTIONS (unsigned char)1 @@ -114,6 +115,7 @@ #define SC_M_MOVE (unsigned char)12 #define SC_M_LOCK (unsigned char)13 #define SC_M_UNLOCK (unsigned char)14 +#define SC_M_ACL (unsigned char)15 /* @@ -239,6 +241,8 @@ *sc = SC_M_LOCK; } else if(0 == strcmp(method, "UNLOCK")) { *sc = SC_M_UNLOCK; + } else if(0 == strcmp(method, "ACL")) { + *sc = SC_M_ACL; } else { rc = JK_FALSE; }