On Wed, 15 Mar 2000, Mentos Hoffmann wrote:
> It seems as if the destructor ~Connection tries to free memory it does
> not really own. This is interessting, because using external_protocols
> I do not open any Connections, do I?
You shouldn't. But that doesn't mean it's not being opened somewhere. I
might guess that the Transport code is assuming everyone wants a
Connection.
> 1) Is this a known bug?
Nope. You found a new one. That's why it's a beta. :-)
> 2) Has someone an idea where to look?
I'd check through the sequence in Document::Retrieve() and look at what
the Transport class is doing. If it opens up a Connection() automatically,
we probably want to change that. After all, file:// transports don't need
Connection() obejcts either!
> to Url and to return the results to htdig. Is there a short way to this?
> If not, I will try to patch htdig, e.g. by providing dummy-urls on the
> stack as long as the external_protocol returns any results. Do you think
> this could work?
So you want some form of pipelining. I've talked with a few people about
this sort of thing. There are a few places where some sort of non-blocking
would help, like DNS resolution, contacting new servers, connection, etc.
It would also be nice if there were some way to pass data directly from
the external protocol handler to the external parser.
I'll be honest. We do need to clean up 3.2 and get it out the door. But I
think as a development group, we need to sit down and think about what we
want from each piece and ways we can allow people to "plug-in" or replace
what's built-in.
Yes, that's right, I think we need a roadmap. While I think we've done OK
with general responsibilities, it may help to set general areas of
interest as well. For example, I'd be thrilled if a few people would be
willing to take charge of indexing. I've always wanted to focus more on
htsearch and htfuzzy. It's all one package, but I, for one, feel a bit
like I'm running around all over to never make any progress.
(Organization usually never hurts.) Sorry for the slightly-offtopic answer
to your question. I hope I answered it for you!
-Geoff
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.