[Bug 729426] New: Should respond "551 Option not supported" in case a Require header is received

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 2 13:12:24 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729426
  GStreamer | gst-rtsp-server | git

           Summary: Should respond "551 Option not supported" in case a
                    Require header is received
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=275697)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=275697)
rtsp-client: handle Require headers and respond with OPTION_NOT_SUPPORTED

RFC 2326, https://tools.ietf.org/html/rfc2326#section-12.32 , states:

> 12.32 Require
>
> The Require header is used by clients to query the server about
> options that it may or may not support. The server MUST respond to
> this header by using the Unsupported header to negatively acknowledge
> those options which are NOT supported.

We don't do this currently.

Attached patch fixes this.

One might allow the application to decide what options are supported or not.
Not sure how interesting this is.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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