Accept a wider range of input patterns
[gnucomo.git] / src / gcm_input / access_cooker.cpp
index 339114b..03a9430 100644 (file)
@@ -8,7 +8,7 @@
 ***********************
 **      FILE NAME      : access_cooker.cpp
 **      SYSTEM NAME    : 
-**      VERSION NUMBER : $Revision: 1.1 $
+**      VERSION NUMBER : $Revision: 1.3 $
 **
 **  DESCRIPTION      :  Cooks Apache http daemon access log lines
 **
 
 /*****************************
    $Log: access_cooker.cpp,v $
-   Revision 1.1  2003-08-11 16:56:15  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
+   input formats into XML.
+   Classifying input data is done with a finite improbability calculation.
+
+   Revision 1.1  2003/08/11 16:56:15  arjen
    Different kinds of log files are parsed by a collection of objects
    of different classes, derived from the base class line_cooker
    Depending on the message content or the message_type element in
 
 *****************************/
 
-/* static const char *RCSID = "$Id: access_cooker.cpp,v 1.1 2003-08-11 16:56:15 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) .+ HTTP");
+static const regex re_accesslog("(GET|POST|HEAD|OPTIONS|CONNECT) .+ HTTP");
 
 bool access_cooker::check_pattern(String logline)
 {