You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ke...@apache.org on 2001/08/27 17:33:04 UTC

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c jk_ajp_common.h

keith       01/08/27 08:33:04

  Modified:    jk/doc   AJPv13.html
               jk/java/org/apache/ajp Ajp13.java RequestHandler.java
               jk/native/common jk_ajp_common.c jk_ajp_common.h
  Log:
  Add REPORT method to Ajp13 (necessary for Webdav ACL
  and Delta-V).  This has also been added to jakarta-tomcat.
  
  Revision  Changes    Path
  1.3       +2 -1      jakarta-tomcat-connectors/jk/doc/AJPv13.html
  
  Index: AJPv13.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/doc/AJPv13.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AJPv13.html	2001/05/20 22:57:56	1.2
  +++ AJPv13.html	2001/08/27 15:33:04	1.3
  @@ -357,7 +357,8 @@
   MOVE        12
   LOCK        13
   UNLOCK      14
  -ACL         15
  +ACL         15
  +REPORT      16
     </PRE>
     <P>
     </DD>
  
  
  
  1.9       +2 -1      jakarta-tomcat-connectors/jk/java/org/apache/ajp/Ajp13.java
  
  Index: Ajp13.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/ajp/Ajp13.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Ajp13.java	2001/06/25 16:00:38	1.8
  +++ Ajp13.java	2001/08/27 15:33:04	1.9
  @@ -154,7 +154,8 @@
           "MOVE",
           "LOCK",
           "UNLOCK",
  -        "ACL"
  +        "ACL",
  +        "REPORT"
       };
   
       // id's for common request headers
  
  
  
  1.2       +2 -1      jakarta-tomcat-connectors/jk/java/org/apache/ajp/RequestHandler.java
  
  Index: RequestHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/ajp/RequestHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RequestHandler.java	2001/06/27 15:50:43	1.1
  +++ RequestHandler.java	2001/08/27 15:33:04	1.2
  @@ -148,7 +148,8 @@
           "MOVE",
           "LOCK",
           "UNLOCK",
  -        "ACL"
  +        "ACL",
  +        "REPORT"
       };
       
       // id's for common request headers
  
  
  
  1.8       +2 -0      jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
  
  Index: jk_ajp_common.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jk_ajp_common.c	2001/08/23 15:51:08	1.7
  +++ jk_ajp_common.c	2001/08/27 15:33:04	1.8
  @@ -130,6 +130,8 @@
   	*sc = SC_M_UNLOCK;
       } else if(0 == strcmp(method, "ACL")) {
   	*sc = SC_M_ACL;
  +    } else if(0 == strcmp(method, "REPORT")) {
  +	*sc = SC_M_REPORT;
       } else {
           rc = JK_FALSE;
       }
  
  
  
  1.6       +5 -3      jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.h
  
  Index: jk_ajp_common.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- jk_ajp_common.h	2001/07/23 21:02:43	1.5
  +++ jk_ajp_common.h	2001/08/27 15:33:04	1.6
  @@ -59,7 +59,7 @@
    * Description: common stuff for bi-directional protocol ajp13/ajp14.      *
    * Author:      Gal Shachor <sh...@il.ibm.com>                           *
    * Author:      Henri Gomez <hg...@slib.fr>                               *
  - * Version:     $Revision: 1.5 $                                           *
  + * Version:     $Revision: 1.6 $                                           *
    ***************************************************************************/
   
   #ifndef JK_AJP_COMMON_H
  @@ -108,7 +108,8 @@
    *                        | "MOVE"
    *                        | "LOCK"
    *                        | "UNLOCK"
  - *                        | "ACL"
  + *                        | "ACL"
  + *                        | "REPORT"
    * 
    */
   #define SC_M_OPTIONS            (unsigned char)1
  @@ -125,7 +126,8 @@
   #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
  +#define SC_M_ACL				(unsigned char)15
  +#define SC_M_REPORT             (unsigned char)16
   
   
   /*