HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: select() on ssl connection problem
Author: Patrick Pfeifer
Date: 03/06/2009 10:03
 
Me, I'm fixing it like this for now...

--- httrack-3.43.2.orig/src/htsback.c
+++ httrack-3.43.2/src/htsback.c
@@ -2357,6 +2357,7 @@

           // vérification de sécurité
           if (back[i].r.soc!=INVALID_SOCKET) {  // hey, you never know..
+          if (!(back[i].r.ssl && (back[i].status>0) &&
(back[i].status<1000))) {
             do_wait=1;

             // noter socket read
@@ -2376,6 +2377,7 @@
               // ID socket la plus élevée
               nfds=back[i].r.soc;
             }
+          }
           } else {
             back[i].r.statuscode=STATUSCODE_CONNERROR;
             if (back[i].status==STATUS_CONNECTING)
 
Reply Create subthread


All articles

Subject Author Date
select() on ssl connection problem

03/06/2009 09:26
Re: select() on ssl connection problem

03/06/2009 10:03
Re: select() on ssl connection problem

03/17/2009 21:11
Re: select() on ssl connection problem

03/19/2009 22:01




4

Created with FORUM 2.0.11