From: Amos Jeffries Date: Mon, 24 Aug 2009 09:53:58 +0000 (+1200) Subject: Drop concurrent bits from fake url_rewrite C helper X-Git-Tag: SQUID_3_2_0_1~741^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b138520c8c47eb9b35bf446ed6511092e200fc22;p=thirdparty%2Fsquid.git Drop concurrent bits from fake url_rewrite C helper --- diff --git a/helpers/url_rewrite/fake/fake.cc b/helpers/url_rewrite/fake/fake.cc index 5b9cfd931d..218e189c9a 100644 --- a/helpers/url_rewrite/fake/fake.cc +++ b/helpers/url_rewrite/fake/fake.cc @@ -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 */