Move QUERY_FILETRANSFER handling to improve backend performance.
This significantly reduces the backend CPU usage for me when streaming a
recording or other file to the frontend.
Each time we send a command to the backend we perform a number of string
comparisons to find the correct handler. In the cases where that same command
is sent regularly, maybe several times a second those comparisons can stack up
to result in a high CPU load. This can be avoided by moving the most frequently
used commands to the top of the list thereby avoiding a couple of dozen or more
comparisons each time.
There may be other commands that should be moved to the top with similar
benefit.
(cherry picked from commit 529853d11587ebee0b77753272d6dcc1a5404a11)
eaab55b...
by
Jonatan Lindblad <email address hidden>
Internet Content: Fix Vimeo grabber
Vimeo now requires that oauth_callback is specified. We set it to out-of-band
since we don't use it.
(cherry picked from commit 0c92bfd648224fc986586e5ddeef2e79c61a98ce)
9129079...
by
Raymond Wagner <email address hidden>
Force proper initialization of keys and jumppoints for control socket.
(cherry picked from commit 931fe9c46d12be016e6b952e2c68da887d5a05b2)
Fix a null pointer dereference in MainServer::HandleQueryRecording(). This bug would have made it possible to crash a backend with a malformed QUERY_RECORDING message. Coverity defect 700420
(cherry picked from commit 9bddf5b26c5cf7e514e336de2ea4791031326cbe)
fe9bd6d...
by
Chris Pinkham <email address hidden>
Remove the broken "Expire in deleted order" setting.
Unfortunately, this setting has been broken since the day it was
committed. When disabled, this setting could cause non-deleted
programs to be expired before deleted programs when the Auto
Expirer was trying to free up disk space. The desired effect
of the setting is now already handled by default, expiring deleted
programs in a FIFO order on a particular filesystem. The first
program deleted is the first to be expired for disk space if
necessary.
Backports 928135e87559bfdc675cdb35a8cf31e8adcde159 from master.