From 4f6f67177eb13750cb68a09f91d75eeb178a52c8 Mon Sep 17 00:00:00 2001 From: Evan Callaway Date: Wed, 2 Dec 2015 09:00:31 -0500 Subject: 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 --- gst-libs/gst/rtsp/gstrtspdefs.c | 2 +- gst-libs/gst/rtsp/gstrtspdefs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ -- cgit v1.2.1