Open abhishek-das-gupta opened 1 year ago
Reading the doc
You have some control over session configuration through the session::apply_settings() member function. To change one or more configuration options, create a settings_pack object and fill it with the settings to be set and pass it in to session::apply_settings().
I think I need to use session.apply_settings()
. but it says I need to create a settings_pack
object ? I am unable to do that.
What I did is as follows
settings = session.get_settings()
setttings[key1] = value1
.
.
.
session.apply_settings(settings)
Please suggest whether the above is correct or not.
Hellok @arvidn any suggestions?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
libtorrent version (or branch): 1.2.0 / boost 1.75.0
platform/architecture: RHEL 9.0
We upgraded libtorent from 1.1.5 to 1.2.0 and boost from 1.65.1 to 1.75.0. The prodcution code is failing when trying to use the function
set_settings
.The codeblock below gives an idea of instrcutions we are using in the production code.
Is there an api change in the libtorrent python binding for
libtorrent.session
? Please suggest I am unable to find it from a quick search.If yes, then what to use instead?
If not, then how to debug this?
Thanks!