Rui Chen
5ce84929e4
fix: use fsync for osx builds
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2024-10-07 23:43:54 +09:00
rakshasa
133ce36570
Fixed goto warning.
2024-09-07 08:29:00 +00:00
rakshasa
a142301d02
Merge branch 'session-fix' of github.com:stickz/rtorrent-rak into stickz-session-fix
2024-09-07 08:17:07 +00:00
rakshasa
d32d59315d
Merge branch 'memory-leak' of github.com:stickz/rtorrent-rak into stickz-memory-leak
2024-09-07 07:54:00 +00:00
stickz
6e9902c23b
Fix critical memory leak
...
This commit fixes a critical memory leak with the inserting RPC commands. We must initialize the cmd_flags with the delete key, otherwise they hang around in memory forever; potentially leaking significant amounts of resources.
2024-09-06 11:16:47 -04:00
stickz
d4427931a2
Fix session file data corruption
...
From https://github.com/jesec/rtorrent/commit/f9a875b633eb083ec82f89ebeae8678ca424e8b2
This commit ensures session files land on the disk in the event of a system crash or power outage. It prevents data corruption of rTorrent session files, which causes torrent client breakage.
Optimizations from the initial implementation include
1) Skipping unnecessary file metadata updates during the sync process.
2) Skipping variable initialization since open will assign -1 on failure.
2024-09-06 11:05:35 -04:00
stickz
ea3828a17e
Fix Link Time Optimizations
...
This commit fixes compiling rTorrent with LTO (Link Time Optimizations). We just need to rename from variables in the directory_entry structure to avoid ODR and ZLIB conflicts.
2024-09-01 08:20:01 -04:00
rakshasa
eacf9798e2
commit 30addc1a5e
...
Author: kannibalox <kannibalox@gmail.com >
Date: Mon Jun 10 13:09:29 2024 -0400
Use regular iterators intead of bucket-local ones
Trying to manually predict which bucket a hashed key will land in does not
appear to be well-defined behavior.
Fixes #1285
2024-08-20 17:56:03 +00:00
Jari Sundell
1da0e3476d
Removed stray spaces.
2023-03-16 22:10:38 +01:00
Jari Sundell
c0a5a55444
Disable delay tracker scrape on start.
2023-03-16 22:10:38 +01:00
stickz
551712f842
Fix typo in "trackers.delay_scrape"
2023-03-16 22:10:38 +01:00
stickz
c7c290a86b
Add "trackers.delay_scrape" command
2023-03-16 22:10:38 +01:00
stickz
2e1a499942
Don't delay scraping for newly added torrents
2023-03-16 22:10:38 +01:00
stickz
c86f0d0333
Don't force the trackers to scrape when rTorrent first starts
...
rTorrent will do this gradually, so we can start connecting to peers right away.
This patch shaves approximately 5 minutes off the start time with thousands of torrents.
2023-03-16 22:10:38 +01:00
Aleksa Sarai
92bec88d09
utils: lockfile: avoid stack overflow for lockfile buffer
...
There appears to have been some change on openSUSE (likely some new
hardening flags for builds, or some glibc hardening) such that incorrect
buffer handling results in a segfault even if the buffer is never
overflowed.
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com >
2023-03-10 22:22:36 +01:00
rakshasa
d15d93be88
Added ipv6 options.
2021-06-21 21:14:48 +09:00
rakshasa
952777d75e
Added commands to update choke queue.
2021-05-01 19:45:50 +09:00
rakshasa
3f72e27603
Replaced custom execinfo autoconf test.
2021-02-27 22:13:01 +09:00
Jari Sundell
8cc1d8f2c5
Optimize build by using a single makefile file. ( #941 )
2019-12-06 00:35:47 +09:00
Trog
3798de01a0
few missing sub-commands of network and throttle for the RPC interface ( #937 )
2019-12-01 14:55:23 +09:00
lps-rocks
14d7121185
Increase maximum SCGI request to 16MB ( #905 )
2019-08-29 00:44:09 +09:00
Jari Sundell
7659cd0ec0
Backport changes from feature-bind.
2019-08-23 23:25:24 +09:00
chros
f22475d1bf
Modify throttle status bar mod to be able to display multiple values (See #6 )
2019-07-27 11:22:56 +01:00
nicholi
765665fc28
When opening log files use new append parameter. Also added append_gz_file command.
2019-07-26 01:03:57 -07:00
nicholi
5f70986099
Added log.append_file.
2019-07-24 00:46:17 -07:00
rakshasa
a5e8631cba
Added log.close.
2019-07-17 19:41:23 +02:00
rakshasa
07dcd04357
Revert to only using ax_with_curses.m4, and upgrade it to version 16 which seems to be the last unborked version.
2019-07-13 14:36:05 +02:00
rakshasa
863de44c18
Added d.tracker_announce.force.
2019-07-11 17:46:35 +02:00
rakshasa
859d5a9578
Merge branch 'master' of https://github.com/toff/rtorrent into toff-master
2019-07-08 21:39:31 +02:00
rakshasa
285972a20d
Fixed configure.ac. (zetafunction)
2019-07-08 20:29:43 +02:00
rakshasa
a3a384b049
Fixed minor issues.
2019-06-09 17:09:35 +09:00
rakshasa
656d735de7
Merge branch 'cmd-d_multicall_filtered' of https://github.com/pyroscope/rtorrent into pyroscope-cmd-d_multicall_filtered
2018-10-20 21:47:36 +09:00
rakshasa
fa61b8c11c
Merge branch 'cmd-compare' of https://github.com/pyroscope/rtorrent into pyroscope-cmd-compare
2018-10-20 21:38:28 +09:00
rakshasa
4ba128163f
Merge branch 'event_system_commands' of https://github.com/chros73/rtorrent into chros73-event_system_commands
2018-10-20 21:30:39 +09:00
chros
1f418366d4
Fix 'list' type method (See #25 )
2018-10-01 23:27:58 +01:00
toff
30c78c7034
Merge branch 'master' into master
2018-09-29 11:31:06 +02:00
chros
74435f6c40
Add 'event.system.startup_done/shutdown' commands/events ( Closes #24 )
2018-09-26 15:12:20 +01:00
rakshasa
f0207ce654
Added "try" command that catches input_errors and logs them on rpc_events.
2018-06-23 17:01:34 +09:00
pyroscope
d9b39f5ac6
d.custom.if_z: return default also for existing but empty value
2018-06-18 19:41:53 +02:00
Jari Sundell
08aa287cfc
Merge pull request #614 from chros73/adjustable_global_throttle_steps
...
Make global throttle steps adjustable
2018-06-19 00:08:32 +09:00
Jari Sundell
851d1902a0
Merge pull request #738 from pyroscope/d_custom_if_z+keys+items
...
add d.custom.if_z + d.custom.keys + d.custom.items
2018-06-19 00:06:23 +09:00
Jari Sundell
b600ff0c0e
Merge pull request #742 from pyroscope/cmd-event-view-change
...
add 'event.view.hide/show' commands / events
2018-06-16 18:48:10 +09:00
Jari Sundell
a639461c4a
Merge pull request #743 from pyroscope/fix-log-xmlrpc-close
...
fix: properly close the XMLRPC log, resetting the handle after close
2018-06-16 18:46:11 +09:00
pyroscope
2ac65ad7e1
add 'value' command / conversion op
2018-06-16 06:54:39 +02:00
pyroscope
a4939cb9fd
add 'compare' command / operator
2018-06-15 22:36:55 +02:00
pyroscope
3d88ac2cc8
fix: properly close the XMLRPC log, resetting the handle after close
2018-06-15 19:38:12 +02:00
pyroscope
f37fefcc54
add 'event.view.hide/show' commands / events
2018-06-15 18:36:01 +02:00
pyroscope
885836f68b
add 'd.multicall.filtered' command
2018-06-15 00:40:00 +02:00
pyroscope
ca4c3bee8d
add d.custom.if_z + d.custom.keys + d.custom.items
2018-06-14 20:32:28 +02:00
Jari Sundell
6c278668e4
Merge pull request #587 from pyroscope/add-position-display-in-title
...
add '[ X of Y ]' to title bar
2018-06-11 23:15:21 +09:00