Summary
Adds support for gzip accepted_encoding in scgi headers and special syntax to config files to enable logging before libtorrent initialization.
Gzip accepted_encoding in SCGI
network.scgi.use_gzip
network.scgi.use_gzip.set=false
network.scgi.gzip.min_size
network.scgi.gzip.min_size.set=0
If the client passes ACCEPT_ENCODING with gzip in the SCGI headers, it will allow for gzip compression when the response is larger than network.scgi.gzip.min_size.
Enable logging before libtorrent initialization
#
# do:log.open_file=system,/Users/rakshasa/torrent/host/logs/system.log
# do:log.open_file=rtorrent,/Users/rakshasa/torrent/host/logs/rtorrent.log
#
# do:log.add_output=system,system
# do:log.add_output=debug,rtorrent
#
log.open_file = "normal_log", /Users/rakshasa/torrent/host/logs/crash.log
log.add_output = "info", "normal_log"
Above is an example rtorrent.rc file that adds logging outputs before normal initialization and reading of config files.
It handles any # do: prefix as special commands, and is limited and has strict syntax requirements.
Development Funding
Current development relies on donations, and as such is highly appreciated.
Donations make futher development possible, and as such are highly appreciated:
- Paypal
- Patreon
- SubscribeStar
- Bitcoin: 1MpmXm5AHtdBoDaLZstJw8nupJJaeKu8V8
- Ethereum: 0x9AB1e3C3d8a875e870f161b3e9287Db0E6DAfF78
- Litecoin: LdyaVR67LBnTf6mAT4QJnjSG2Zk67qxmfQ
- Cardano: addr1qytaslmqmk6dspltw06sp0zf83dh09u79j49ceh5y26zdcccgq4ph7nmx6kgmzeldauj43254ey97f3x4xw49d86aguqwfhlte
What's Changed
Features
- Added support for gzip accepted_encoding in scgi headers by @rakshasa
- Added special syntax to config files to enable log categories early by @rakshasa
Bug Fixes
- Fixed session save getting stuck by @rakshasa
- Fixed path expand when doing a single '~' when expanding directory entries by @rakshasa
- Fix core subsystem logic and safety bugs @sirus20x6 by @rakshasa
- Removed deprecated rak/ headers by @rakshasa
- Fixed socket count in handshake transfer failure event by @rakshasa
- Fix stack-use-after-free in DHT by @jmakovicka
- Unlock CurlStack mutex before calling CurlGet::activate_unsafe() by @rakshasa
- Use std::shared_ptr for DhtSearch by @rakshasa
- Clear other address family dns staleness entry by @rakshasa
- Clean up valgrind error by @slingamn
- Fix HashTorrent use of errno and properly zero-initialize ChunkHandle by @rakshasa
- Fixed Block stalled counter when peer_info is null by @rakshasa