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

max-connection-per-server not work #1185

Closed
billypon opened this issue May 1, 2018 · 1 comment
Closed

max-connection-per-server not work #1185

billypon opened this issue May 1, 2018 · 1 comment

Comments

@billypon
Copy link

billypon commented May 1, 2018

Version: 1.33.1
Client: aria2.js
Language: JavaScript

When I call addUri(['URL'], {'max-connection-per-server': 1}) via WebSocket, I can find the string max-connection-per-server=1 in the session file.
But when I call the same method via AJAX, will use the default config, and the string max-connection-per-server=1 is not found.

Why?

@billypon
Copy link
Author

billypon commented Aug 9, 2018

The value of 'max-connection-per-server' option must be string, not number!!!

Now it works: addUri(['URL'], {'max-connection-per-server': '1'})

@billypon billypon closed this as completed Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant