Re: [FFmpeg-devel] [PATCH] lavf/tls_gnutls: retry gnutls_handshake on non fatal errors

2019-06-14 Thread Jan Ekström
On Sat, Jun 1, 2019 at 8:38 PM Jan Ekström wrote: > > On Wed, Mar 27, 2019 at 2:09 PM Remita Amine wrote: > > > > fixes #7801 > > > > Signed-off-by: Remita Amine > > This seems to fix switching the cipher suite, and quickly looking at > the gnutls API docs this seems to be the way to do it. > >

Re: [FFmpeg-devel] [PATCH] lavf/tls_gnutls: retry gnutls_handshake on non fatal errors

2019-06-01 Thread Jan Ekström
On Wed, Mar 27, 2019 at 2:09 PM Remita Amine wrote: > > fixes #7801 > > Signed-off-by: Remita Amine This seems to fix switching the cipher suite, and quickly looking at the gnutls API docs this seems to be the way to do it. Just tested this with the following as I got a report that opening Face

Re: [FFmpeg-devel] [PATCH] lavf/tls_gnutls: retry gnutls_handshake on non fatal errors

2019-03-27 Thread amine remita
this patch is based on the documentation for gnutls_handshake : > On these non-fatal errors call this function again, until it returns 0 > and the examples from the gnutls manual, such as: https://gnutls.org/manual/html_node/Client-with-Resum

Re: [FFmpeg-devel] [PATCH] lavf/tls_gnutls: retry gnutls_handshake on non fatal errors

2019-03-27 Thread Michael Niedermayer
On Wed, Mar 27, 2019 at 01:03:07PM +0100, Remita Amine wrote: > fixes #7801 > > Signed-off-by: Remita Amine > --- > libavformat/tls_gnutls.c | 12 +++- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c > index e3c43683

[FFmpeg-devel] [PATCH] lavf/tls_gnutls: retry gnutls_handshake on non fatal errors

2019-03-27 Thread Remita Amine
fixes #7801 Signed-off-by: Remita Amine --- libavformat/tls_gnutls.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c index e3c43683be..f32bc2821b 100644 --- a/libavformat/tls_gnutls.c +++ b/libavformat/tls_gnutl