aMule Forum

English => en_Bugs => Topic started by: myth on September 06, 2010, 07:14:36 PM

Title: After ADSL reconnect aMule doesn't acquire new connection
Post by: myth on September 06, 2010, 07:14:36 PM
Does anybody else have this problem?

Title: Re: After ADSL reconnect aMule doesn't acquire new connection
Post by: GonoszTopi on September 07, 2010, 08:25:57 PM
As far as I remember, yes. Stu reported it long ago, but fixing it is not trivial.
Title: Re: After ADSL reconnect aMule doesn't acquire new connection
Post by: myth on September 07, 2010, 08:50:31 PM
Shice!
Title: Re: After ADSL reconnect aMule doesn't acquire new connection
Post by: Stu Redman on September 08, 2010, 10:34:52 PM
Well, the 24h reconnect common with DSL is handled more or less gracefully (probably with an hour of bad performance or so). Network outages of a few hours or so aren't. After that aMule usually sits dumb and disconnected, even if network is back again.
(At least this is how I remember it from my DSL times, may they rest in pieces.  :P)

But a GonoszTopi said, this is not trivial, and thus not in 2.3 (unless somebody comes up with a great patch...).
Title: Re: After ADSL reconnect aMule doesn't acquire new connection
Post by: myth on September 09, 2010, 12:17:56 AM
Connection check things cannot work because we can't ping for user right issues, right?

Something must be possible...

Maybe we can do a simple check when upload falls down to 0?
Title: Re: After ADSL reconnect aMule doesn't acquire new connection
Post by: myth on September 11, 2010, 02:51:48 PM
Can't we ping with a syscall like system(ping) ?

If it's not possible we could implement a own ping program for icmp!
Title: Re: After ADSL reconnect aMule doesn't acquire new connection
Post by: GonoszTopi on September 11, 2010, 11:45:25 PM
Whom to ping? Another user? He might have gone offline since we last saw him... Or a fixed destination (like www.amule.org)? See Ping flood (http://en.wikipedia.org/wiki/Ping_flood)

A reasonable solution should

That's why I said it was not trivial.
Title: Re: After ADSL reconnect aMule doesn't acquire new connection
Post by: myth on September 12, 2010, 12:55:08 AM
Well, it could be useful looking at StulleMule sources, which has "connection check" ;)