]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Drop concurrent bits from fake url_rewrite C helper
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 24 Aug 2009 09:53:58 +0000 (21:53 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 24 Aug 2009 09:53:58 +0000 (21:53 +1200)
helpers/url_rewrite/fake/fake.cc

index 5b9cfd931d5c94010d69eb66f81b7861325f023f..218e189c9a10ce0451a6c1401bfeedc7f7abafe6 100644 (file)
@@ -22,7 +22,6 @@
  * -h interface help.
  */
 char *my_program_name = NULL;
-int concurrent_detected = -1;
 
 
 static void
@@ -62,13 +61,6 @@ process_options(int argc, char *argv[])
         exit(1);
 }
 
-bool
-detect_concurrent(const char *)
-{
-    // TODO: scan the char* input and see if it is 100% numeric.
-    //   if so, enable concurrent support IDs.
-}
-
 int
 main(int argc, char *argv[])
 {
@@ -94,11 +86,6 @@ main(int argc, char *argv[])
         else
             buflen = strlen(buf);   /* keep this so we only scan the buffer for \0 once per loop */
 
-/* TODO: later.
-        if (concurrent_detected < 0)
-            detect_concurrent(buf);
-// */
-
         helper_debug("Got %d bytes '%s' from Squid\n", buflen, buf);
 
         /* send 'no-change' result back to Squid */