Opened 5 weeks ago

Closed 4 weeks ago

#6667 closed defect (fixed)

GnuTLS: should ignore GNUTLS_E_PREMATURE_TERMINATION

Reported by: ishitatsuyuki 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 Changed 5 weeks ago by cehoyos

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 Changed 4 weeks ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords gnutls added
  • Priority changed from normal to minor
  • Resolution set to fixed
  • Status changed from new to closed
  • Type changed from enhancement to defect
  • Version changed from unspecified to git-master

Your patch was applied in 598e41684066feba701d19ca7443d24b9e5efa77 - thank you!

Note: See TracTickets for help on using tickets.