Peter Todd <pete at petertodd.ca> writes:

> On Wed, May 23, 2001 at 08:37:07PM -0500, Steven Hazel wrote:
> > Peter Todd <pete at petertodd.ca> writes:
> > 
> > > On Wed, May 23, 2001 at 02:02:38AM -0500, Steven Hazel wrote:
> > > >                         * Added freenet_close_connection()
> > > 
> > > It would be nice if there was a function to close a *stream* In my
> > > fnmap code I have cancel handlers setup to be absolutely cirtain
> > > that should a thread hang on me due to a libfreenet bug I can
> > > reliably close all connections.
> > > 
> > > Oh well, for now I'll just copy your code. :)
> > 
> > You can close a stream with
> > freenet_close_connection(stream.connection).  I am thinking about
> > having a freenet_close_stream(), but right now it would be kind of
> > pointless.
> 
> Ok, not so bad.
> 
> Now for bug time. :) The datasource variable just got broken. :(
> Returns pure binary junk.

Hm.  Are you sure you've recompiled all of your code?  That sounds
like a likely stale-object problem.  If that doesn't fix it, I'll
track it down and try to get a bugfix release up tonight.

-S

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to