Re: [Evolution-hackers] [Fwd: [Fwd: A problem in libsoup]]



On Wed, 2003-04-09 at 12:49, Dan Winship wrote:
> > What you described is pretty much the problem I was seeing.  As soon as
> > the connection is made, connection_death() is set up.  Then the remote
> > side immediately closes the connection.  This causes a HUP on the
> > channel, and connection_death() loops forever because in_use is TRUE and
> > is never set to FALSE.  Had the HUP occurred later, after the
> > soup-transfer stuff had been set up, it would have just gone through the
> > normal error and the connection would be released (and in_use set to
> > FALSE) in soup_message_cleanup().
> 
> Ah. OK, so the problem is that we need to differentiate "not in use",
> "sort of in use" (in_use TRUE but no message queued), and "definitely in
> use".
> 
> Does this work for you? (And JP, does it work for you?)

It doesn't work for me, because conn->message is set by the time we hit
connection_death().  Sorry, I haven't had any time to look into it
beyond this yet.

Joe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]