Official eMule-Board: Connection Wizard Sets A Low Download Limit For A High Custom Value - Official eMule-Board

Jump to content


Page 1 of 1

Connection Wizard Sets A Low Download Limit For A High Custom Value

#1 User is offline   NoMiaus 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 08-June 11

Posted 21 May 2018 - 01:04 PM

When writing a download custom value higher than 596496 kBit/s in the connection Wizard the download limit is set really low. The upload limit is always set correctly.

Posted Image

Posted Image

Checking the source code, maybe the bug is here:
thePrefs.maxdownload = (uint16)((download * 9L) / 10);


P.S.: It seems the title of the post is too long and it's cut. I can't edit it now, sorry for that.

This post has been edited by NoMiaus: 22 May 2018 - 07:04 PM

En ocasiones.. veo cable-modems Motorola con ID Alta ._.'
0

#2 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4578
  • Joined: 13-May 07

Posted 21 May 2018 - 08:35 PM

Are you playing with a gigabit connection?
0

#3 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4578
  • Joined: 13-May 07

Posted 21 May 2018 - 09:50 PM

Open the first message in full editor, then you will be able to change topic and description.
0

#4 User is offline   NoMiaus 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 08-June 11

Posted 22 May 2018 - 07:23 PM

View Postfox88, on 21 May 2018 - 10:35 PM, said:

Are you playing with a gigabit connection?

I am not, but some spanish ISP are starting to offer speeds such as 600Mbps and 1Gbps. I noticed about what I reported when I was helping someone on the IRC help channel.

View Postfox88, on 21 May 2018 - 10:35 PM, said:

Open the first message in full editor, then you will be able to change topic and description.

Thanks!
En ocasiones.. veo cable-modems Motorola con ID Alta ._.'
0

#5 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4578
  • Joined: 13-May 07

Posted 22 May 2018 - 10:00 PM

In preferences, eMule uses 16-bit unsigned integers for speed (in KBytes/s).
The maximum value therefore is 65535.
It was sufficient for 100 Mbit/s, but not for gigabit connections.

32-bit integers are necessary, but it should be dealt with caution.
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users