Accept a wider range of input patterns
[gnucomo.git] / src / gcm_input / access_cooker.cpp
index 5188204..03a9430 100644 (file)
@@ -8,7 +8,7 @@
 ***********************
 **      FILE NAME      : access_cooker.cpp
 **      SYSTEM NAME    : 
-**      VERSION NUMBER : $Revision: 1.2 $
+**      VERSION NUMBER : $Revision: 1.3 $
 **
 **  DESCRIPTION      :  Cooks Apache http daemon access log lines
 **
 
 /*****************************
    $Log: access_cooker.cpp,v $
-   Revision 1.2  2003-12-04 10:38:09  arjen
+   Revision 1.3  2003-12-22 10:22:21  arjen
+   Accept a wider range of input patterns
+
+   Revision 1.2  2003/12/04 10:38:09  arjen
    Major redesign. All input is handled through XML. Raw input data is first
    transformed into an XML document for further processing.
    A collection of polymorphic classes handle the transformation of various
 
 *****************************/
 
-/* static const char *RCSID = "$Id: access_cooker.cpp,v 1.2 2003-12-04 10:38:09 arjen Exp $"; */
+/* static const char *RCSID = "$Id: access_cooker.cpp,v 1.3 2003-12-22 10:22:21 arjen Exp $"; */
 
 #include <ctype.h>
 
 #include "access_cooker.h"
 
-static const regex re_accesslog("(GET|POST|HEAD) .+ HTTP");
+static const regex re_accesslog("(GET|POST|HEAD|OPTIONS|CONNECT) .+ HTTP");
 
 bool access_cooker::check_pattern(String logline)
 {