]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Updated TODO
authorFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 31 Jul 2015 15:05:22 +0000 (17:05 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 31 Jul 2015 15:05:22 +0000 (17:05 +0200)
src/HttpHeader.cc
src/http/RegisteredHeaders.h

index bfe08d59f3184e673267e5d2f7975fd4138d6d63..18e00c1ece00a2dca28c14730e423c79789adcbf 100644 (file)
 
 /* TODO:
  * DONE 1. shift HDR_BAD_HDR to end of enum
- * 2. shift headers data array to http/RegistredHeaders.cc
+ * DONE 2. shift headers data array to http/RegistredHeaders.cc
  * DONE 3. creatign LookupTable object from teh enum and array
  * (with HDR_BAD_HDR as invalid value)
  * DONE 4. replacing httpHeaderIdByName() uses with the lookup table
  * 5. merge HDR_BAD_HDR and HDR_ENUM_END into one thing
- * 6. replacing httpHeaderNameById with direct array lookups
+ * DONE 6. replacing httpHeaderNameById with direct array lookups
  * 7. being looking at the other arrays removal
  */
 
index 0ca367f30bcbacda1e0643dcc6b11ebf0bc7cfd0..b44c37be519778225f271baf06dc0cbadccc3ea1 100644 (file)
@@ -120,6 +120,7 @@ typedef enum {
 } http_hdr_type;
 
 /** possible types for http header fields */
+//TODO: move to strongly-typed enums? (enum class)
 typedef enum {
     ftInvalid = HDR_ENUM_END,   /**< to catch nasty errors with hdr_id<->fld_type clashes */
     ftInt,