From: Evan Callaway Date: Wed, 2 Dec 2015 14:00:31 +0000 (-0500) Subject: rtspconnection: Update capitalization of x-sessioncookie X-Git-Tag: 1.10.4~632 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e47643122c6d49b0633e53c5ea226fc898146f62;p=platform%2Fupstream%2Fgst-plugins-base.git rtspconnection: Update capitalization of x-sessioncookie Some servers incorrectly parse header names with strict case-sensitivity. For compatibility with these systems change X-Sessioncookie to x-sessioncookie. https://bugzilla.gnome.org/show_bug.cgi?id=758921 --- diff --git a/gst-libs/gst/rtsp/gstrtspdefs.c b/gst-libs/gst/rtsp/gstrtspdefs.c index 4f9dc9fa4..a27f57995 100644 --- a/gst-libs/gst/rtsp/gstrtspdefs.c +++ b/gst-libs/gst/rtsp/gstrtspdefs.c @@ -163,7 +163,7 @@ static struct rtsp_header rtsp_headers[] = { {"Host", FALSE}, {"Pragma", TRUE}, {"X-Server-IP-Address", FALSE}, - {"X-Sessioncookie", FALSE}, + {"x-sessioncookie", FALSE}, {"RTCP-Interval", FALSE}, diff --git a/gst-libs/gst/rtsp/gstrtspdefs.h b/gst-libs/gst/rtsp/gstrtspdefs.h index 4297a5385..2a1608e6c 100644 --- a/gst-libs/gst/rtsp/gstrtspdefs.h +++ b/gst-libs/gst/rtsp/gstrtspdefs.h @@ -326,7 +326,7 @@ typedef enum { GST_RTSP_HDR_HOST, /* Host */ GST_RTSP_HDR_PRAGMA, /* Pragma */ GST_RTSP_HDR_X_SERVER_IP_ADDRESS, /* X-Server-IP-Address */ - GST_RTSP_HDR_X_SESSIONCOOKIE, /* X-Sessioncookie */ + GST_RTSP_HDR_X_SESSIONCOOKIE, /* x-sessioncookie */ GST_RTSP_HDR_RTCP_INTERVAL, /* RTCP-Interval */