Opened 7 years ago

Closed 7 years ago

#6667 closed defect (fixed)

GnuTLS: should ignore GNUTLS_E_PREMATURE_TERMINATION

Reported by: Tatsuyuki Ishi Owned by:
Priority: minor Component: avformat
Version: git-master Keywords: gnutls
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (2)

comment:1 by Carl Eugen Hoyos, 7 years ago

To make this a valid ticket, please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output.

Or even better: Send your patch - made with git format-patch to the FFmpeg development mailing list.

comment:2 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavformat
Keywords: gnutls added
Priority: normalminor
Resolution: fixed
Status: newclosed
Type: enhancementdefect
Version: unspecifiedgit-master

Your patch was applied in 598e41684066feba701d19ca7443d24b9e5efa77 - thank you!

Note: See TracTickets for help on using tickets.