Add TODO entry about nochg response
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 18 Oct 2010 09:47:33 +0000 (11:47 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 18 Oct 2010 09:47:33 +0000 (11:47 +0200)
docs/TODO
src/service_dyndns.cpp

index c982fa9..5c5c23f 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
 - Configurable CA certificate handling
 
 Nice to have:
+- Handle "nochg" responses (f.e. from service dyndns)
+  by outputing a warning to the user that more
+  than one client might be active.
+
 - webcheck mode: Cache last known IP
 
   We only determine the current IP every "webcheck_interval" to prevent server trashing.
index 1ab80f6..8e49c53 100644 (file)
@@ -124,6 +124,9 @@ int ServiceDyndns::perform_update(const std::string& ip)
         // Get the received http data.
         string curl_data = HTTPHelp->get_curl_data();
 
+        // Note: We don't handle "nochg" as this shouldn't happen
+        //       if only one client is active.
+
         if ( curl_data == good )
         {
             return 0;