[Bug 743834] tcpserversink: fails with html5 <video> client

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 4 13:44:58 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=743834

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.1
            Summary|tcpserversink fails with    |tcpserversink: fails with
                   |html5 <video> client        |html5 <video> client

--- Comment #12 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
This should fix it:

commit 6db2ee56b6e862f54c479e553f179daf2056da74
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Sat Apr 4 21:38:40 2015 +0100

    tcpserversink: don't error out if clients send us something, just ignore it

    We don't expect clients to send us any data, but if they do, just
    ignore it. Web browsers might send us an HTTP request for example,
    but some will still be happy if we just send them data without
    a proper HTTP response.

    There was a bug in the reading code path. We only have a small
    read buffer and would provoke an EWOULDBLOCK trying to read
    because we don't bail out of the loop early enough.

    https://bugzilla.gnome.org/show_bug.cgi?id=743834

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list