[FFmpeg-trac] #6667(undetermined:new): GnuTLS: should ignore GNUTLS_E_PREMATURE_TERMINATION

FFmpeg trac at avcodec.org
Fri Sep 15 08:44:50 EEST 2017


#6667: GnuTLS: should ignore GNUTLS_E_PREMATURE_TERMINATION
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:
  ishitatsuyuki                      |  enhancement
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 FFmpeg spams the console if the TLS connection is terminated without a TLS
 shutdown alert. GnuTLS returns error on this case, but OpenSSL is not. It
 is safe to ignore, and spamming it around is really annoying when
 streaming DASH.

 How to reproduce:

 Build FFmpeg with GnuTLS. Streaming from some HTTP servers will show this
 error.
 [ffmpeg] tls: The TLS connection was non-properly terminated.

 Fix: ignore GNUTLS_E_PREMATURE_TERMINATION for GnuTLS.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6667>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list