mbox series

[FFmpeg-devel,0/2] avformat/tls_channel: fixes to make keep-alive work

Message ID 20200512220525.9911-1-jeebjp@gmail.com
Headers show
Series avformat/tls_channel: fixes to make keep-alive work
Related show

Message

Jan Ekström May 12, 2020, 10:05 p.m. UTC
Without these two changes, keep-alive utilizing functionality as well as
other connectivity that does not close the connection would not get all
the available data, and instead would be in a loop of recv waiting to be
stopped by the retry wrapper (which would then promptly call read
again).

Quite possible that this also fixes Trac ticket #7894, but unfortunately
I do not have any RTMPS streams available for testing.

The improvements were tested with an HTTPS HLS stream, and the quality
of life difference is significant.

Jan Ekström (2):
  avformat/tls_schannel: always decrypt all received data
  avformat/tls_schannel: immediately return decrypted data if available

 libavformat/tls_schannel.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)