|
|
@ -1046,6 +1046,22 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD |
|
|
|
<fieldset class="settings"> |
|
|
|
<fieldset class="settings"> |
|
|
|
<legend>QBT_TR(libtorrent Section)QBT_TR[CONTEXT=OptionsDialog] (<a href="https://www.libtorrent.org/reference-Settings.html" target="_blank">QBT_TR(Open documentation)QBT_TR[CONTEXT=HttpServer]</a>)</legend> |
|
|
|
<legend>QBT_TR(libtorrent Section)QBT_TR[CONTEXT=OptionsDialog] (<a href="https://www.libtorrent.org/reference-Settings.html" target="_blank">QBT_TR(Open documentation)QBT_TR[CONTEXT=HttpServer]</a>)</legend> |
|
|
|
<table> |
|
|
|
<table> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<label for="bdecodeDepthLimit">QBT_TR(Bdecode depth limit:)QBT_TR[CONTEXT=OptionsDialog] <a href="https://www.libtorrent.org/reference-Bdecoding.html#bdecode()" target="_blank">(?)</a></label> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<input type="text" id="bdecodeDepthLimit" style="width: 15em;" /> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<label for="bdecodeTokenLimit">QBT_TR(Bdecode token limit:)QBT_TR[CONTEXT=OptionsDialog] <a href="https://www.libtorrent.org/reference-Bdecoding.html#bdecode()" target="_blank">(?)</a></label> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<input type="text" id="bdecodeTokenLimit" style="width: 15em;" /> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<label for="asyncIOThreads">QBT_TR(Asynchronous I/O threads:)QBT_TR[CONTEXT=OptionsDialog] <a href="https://www.libtorrent.org/reference-Settings.html#aio_threads" target="_blank">(?)</a></label> |
|
|
|
<label for="asyncIOThreads">QBT_TR(Asynchronous I/O threads:)QBT_TR[CONTEXT=OptionsDialog] <a href="https://www.libtorrent.org/reference-Settings.html#aio_threads" target="_blank">(?)</a></label> |
|
|
@ -2161,6 +2177,8 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD |
|
|
|
$('resolvePeerCountries').setProperty('checked', pref.resolve_peer_countries); |
|
|
|
$('resolvePeerCountries').setProperty('checked', pref.resolve_peer_countries); |
|
|
|
$('reannounceWhenAddressChanged').setProperty('checked', pref.reannounce_when_address_changed); |
|
|
|
$('reannounceWhenAddressChanged').setProperty('checked', pref.reannounce_when_address_changed); |
|
|
|
// libtorrent section |
|
|
|
// libtorrent section |
|
|
|
|
|
|
|
$('bdecodeDepthLimit').setProperty('value', pref.bdecode_depth_limit); |
|
|
|
|
|
|
|
$('bdecodeTokenLimit').setProperty('value', pref.bdecode_token_limit); |
|
|
|
$('asyncIOThreads').setProperty('value', pref.async_io_threads); |
|
|
|
$('asyncIOThreads').setProperty('value', pref.async_io_threads); |
|
|
|
$('hashingThreads').setProperty('value', pref.hashing_threads); |
|
|
|
$('hashingThreads').setProperty('value', pref.hashing_threads); |
|
|
|
$('filePoolSize').setProperty('value', pref.file_pool_size); |
|
|
|
$('filePoolSize').setProperty('value', pref.file_pool_size); |
|
|
@ -2579,6 +2597,8 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD |
|
|
|
settings.set('reannounce_when_address_changed', $('reannounceWhenAddressChanged').getProperty('checked')); |
|
|
|
settings.set('reannounce_when_address_changed', $('reannounceWhenAddressChanged').getProperty('checked')); |
|
|
|
|
|
|
|
|
|
|
|
// libtorrent section |
|
|
|
// libtorrent section |
|
|
|
|
|
|
|
settings.set('bdecode_depth_limit', $('bdecodeDepthLimit').getProperty('value')); |
|
|
|
|
|
|
|
settings.set('bdecode_token_limit', $('bdecodeTokenLimit').getProperty('value')); |
|
|
|
settings.set('async_io_threads', $('asyncIOThreads').getProperty('value')); |
|
|
|
settings.set('async_io_threads', $('asyncIOThreads').getProperty('value')); |
|
|
|
settings.set('hashing_threads', $('hashingThreads').getProperty('value')); |
|
|
|
settings.set('hashing_threads', $('hashingThreads').getProperty('value')); |
|
|
|
settings.set('file_pool_size', $('filePoolSize').getProperty('value')); |
|
|
|
settings.set('file_pool_size', $('filePoolSize').getProperty('value')); |
|
|
|