aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/takdec.c
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2020-05-13 00:31:03 +0300
committerJan Ekström <jeebjp@gmail.com>2020-09-04 21:00:53 +0300
commitcb772c3597b8b69e57b84b08b25b882dbbdf59fe (patch)
tree9bbbf90b6f7a84571db33998f6a64e1d6c22196d /libavcodec/takdec.c
parent14002368999cda9ee64872889f939ed22e5fba48 (diff)
downloadffmpeg-cb772c3597b8b69e57b84b08b25b882dbbdf59fe.tar.gz
avformat/tls_schannel: immediately return decrypted data if available
Until now, we would have only attempted to utilize already decrypted data if it was enough to fill the size of buffer requested, that could very well be up to 32 kilobytes. With keep-alive connections this would just lead to recv blocking until rw_timeout had been reached, as the connection would not be officially closed after each transfer. This would also lead to a loop, as such timed out I/O request would just be attempted again. By just returning the available decrypted data, keep-alive based connectivity such as HLS playback is fixed with schannel. (cherry picked from commit 6f8826e4aaddf1ee6cf3f333ed0e392a748382fe)
Diffstat (limited to 'libavcodec/takdec.c')
0 files changed, 0 insertions, 0 deletions