Re: htdig: BUG: htdig-3.1.0b2 doesn't use proxy setting


Geoff Hutchison (Geoffrey.R.Hutchison@williams.edu)
Sun, 08 Nov 1998 20:00:06 -0500


At 4:37 PM -0500 11/6/98, Didier Gautheron wrote:

>I have no knowledge with htdig source code so I don't post a buggy patch
>(but commenting 'delete proxy' in htdig/Document.cc Reset method works
>for me).

Oops. I'm sure this resembles your patch:
*** htdig3/htdig/Document.cc Mon Nov 2 15:30:35 1998
--- htdig3.dev/htdig/Document.cc Fri Nov 6 18:49:33 1998
*************** Document::Reset()
*** 167,175 ****
      if (!url)
        delete url;
      url = 0;
- if (!proxy)
- delete proxy;
- proxy = 0;
      referer = 0;
      if(config.Boolean("modification_time_is_now"))
         modtime = time(NULL);
--- 167,172 ----
*************** Document::Reset()
*** 182,187 ****
--- 179,188 ----

      // Don't reset the authorization since it's a pain to set up again.
      // authorization = 0;
+ // Don't reset the proxy since it's a pain to set up too.
+ // if (!proxy)
+ // delete proxy;
+ // proxy = 0;
  }

-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:28:46 PST