+ num_connection_attempts = 0; // Reset, since we have a successful read.
+ if (suppress_logging) {
+ // This was suppressed earlier, so print it out now.
+ if (encoding == Input::INPUT_ENCODING_RAW) {
+ log(INFO, "[%s] Connected to '%s', receiving raw data.",
+ url.c_str(), url.c_str());
+ } else {
+ assert(encoding == Input::INPUT_ENCODING_METACUBE);
+ log(INFO, "[%s] Connected to '%s', receiving data.",
+ url.c_str(), url.c_str());
+ }
+ suppress_logging = false;
+ }
+