Page 1 of 1

[BUG] no_persist_conn setting not being honored at startup

Posted: Sat Aug 02, 2014 4:22 pm
by phibertron
If no_persist_conn is set in the twonkyserver.ini to "1", like below
# Set to non-zero to disable persistent connections, zero (default) to use them
no_persist_conn=1
if you stop and then start the server, and then check its value with an rpc call
it will show it as "0"

Also,

If I add a startup parameter for no_persist_conn to twonkyserver.exe
twonkystarter -no_persist_conn 1
if you stop and then start the server, and then check its value with an rpc call
it will show it as "0"

In addition,
The only way I am able to get the setting to stay at "1"
is to use an rpc call to set it, once the server is already up and running
/rpc/set_toption?no_persist_conn=1
.