rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.05k stars 412 forks source link

Fix common rtorrent xml-rpc crash when trying to queue an invalid task #1134

Closed stickz closed 3 months ago

stickz commented 2 years ago

Instead of throwing an internal error and terminating the client, it's better not to queue the invalid task in the first place. C Caught internal_error: 'priority_queue_insert(...) called on an invalid item.'.