Re: [htdig3-dev] Fix for external protocols segfault


Subject: Re: [htdig3-dev] Fix for external protocols segfault
From: Geoff Hutchison (ghutchis@wso.williams.edu)
Date: Fri Mar 24 2000 - 15:59:54 PST


At 4:46 PM -0600 3/24/00, Atlee Gordy wrote:
>Geoff's reply to Mentos indicated that this was a problem with the Transport
>class opening a connection and then failing to close it.

As a bit of a defense--I haven't had a chance to take a look. This
was my initial guess. I was planning on going through this tonight.
So obviously I'm quite happy to see your e-mail!

>killed off if they exist, but there's no corresponding code to get rid of the
>ExternalTransport.

Aha. That would do it.

>Retriever::Initial. We then moved the code to delete the URL, Referer, and
>Proxy objects below the connection closings, and the program exited normally.
>Our modified Document::~Document is below.

Yes, killing off the Transport objects will cause the code to kill of
any existing connections and a few other housekeeping tasks. So if
you've killed off the other objects, it will definitely be unhappy.

Congrats, that's one less bug! I'll patch the CVS tree momentarily.

Cheers,
-Geoff

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Fri Mar 24 2000 - 15:04:49 PST