Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i build aria2c with max-connections-per-server more than 16 #580

Closed
zsrinivas opened this issue Mar 1, 2016 · 5 comments
Closed

How can i build aria2c with max-connections-per-server more than 16 #580

zsrinivas opened this issue Mar 1, 2016 · 5 comments
Labels

Comments

@zsrinivas
Copy link

@zsrinivas zsrinivas commented Mar 1, 2016

Is it possible to build aria2c with --max-connections-per-server, --split more than 16, i tried to searching in the configure file for such option and also tried searching in source to check if it hard-coded anywhere, but i couldn't find it

@tatsuhiro-t
Copy link
Collaborator

@tatsuhiro-t tatsuhiro-t commented Mar 1, 2016

It is hard coded. See https://github.com/tatsuhiro-t/aria2/blob/8985d66e71f980e7d2765753800078f47761f1ba/src/OptionHandlerFactory.cc#L422
Change it to whatever value you want, and compile aria2 for yourself.

@tatsuhiro-t tatsuhiro-t closed this Mar 1, 2016
@zsrinivas
Copy link
Author

@zsrinivas zsrinivas commented Mar 1, 2016

thank you very much, i'm searching with case sensitive flag,
sorry to waste your time.
💯

@boly007
Copy link

@boly007 boly007 commented May 12, 2017

anyone compiled it for windows with 32 connection? can I have it ? thanks

@Kyle-Kyle
Copy link

@Kyle-Kyle Kyle-Kyle commented Jun 4, 2017

After changing the number 16 to 32 in OptionHandlerFactory.cc as mentioned and rebuilding, the max connection per server is still 16. I wonder whether this configuration is overwritten somewhere else.

@JafarAkhondali
Copy link

@JafarAkhondali JafarAkhondali commented May 25, 2019

@tatsuhiro-t May i ask why don't you make it dynamic? in our case (Persepolis DM) it's not a good idea to re-compile Aria2 for users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants