]> git.mxchange.org Git - simgear.git/blobdiff - simgear/package/Catalog.cxx
Tweak HTTP code to always sleep.
[simgear.git] / simgear / package / Catalog.cxx
index eede60669a4dc67792b57a392aa3af59c4de2bd7..160d2fbf7cc45e917853c4289c93c04c02fa07d4 100644 (file)
@@ -50,17 +50,12 @@ public:
     }
     
 protected:
-    virtual void responseHeadersComplete()
-    {
-        
-    }
-    
     virtual void gotBodyData(const char* s, int n)
     {
         m_buffer += std::string(s, n);
     }
     
-    virtual void responseComplete()
+    virtual void onDone()
     {        
         if (responseCode() != 200) {
             SG_LOG(SG_GENERAL, SG_ALERT, "catalog download failure:" << m_owner->url());