Bug#908849: gerbera: No linefeed before CONNECTION header

James Cowgill jcowgill at jcowgill.uk
Sun Sep 16 20:59:25 BST 2018


Control: tags -1 confirmed fixed-upstream
Control: forwarded -1 https://github.com/gerbera/gerbera/pull/316

Hi,

On 15/09/2018 01:17, Pelzi wrote:
> Package: gerbera
> Version: 1.1.0+dfsg-2+b2
> Severity: normal
> 
> Dear Maintainer,
> 
> Try to play an audio track served by gerbera using the uPnP protocol. This leads to an ordinary http get from client (here VLC running on Mac OS).
> 
> As a result, Gerbera will send back an http answer, consisting of an HTTP header and content (which is intended to be streamed by the client). Gerbera 
> adds "CONNECTION: close" to the last line of the header, whichever that is, e.g.: Accept-Ranges: bytesCONNECTION: close
> (In certain situations the last header line might happen to be the Content-Disposition heder and in that case, VLC turns out to be
> uncapable of parsing the header at all and will refuse to play the respective track.)
> 
> Instead, Gerbera should add another line to the header, i.e.
> Accept-Ranges: bytes
> CONNECTION: close
> These lines must be separated by CR LF, as always in HTTP.

Thanks for the bug report. I can confirm this bug.

I think it's fixed by the above upstream PR (not in any released
version). I'll see if I can cherry-pick it at the next upload of gerbera.

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-multimedia-maintainers/attachments/20180916/14cab6b5/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list