diff options
author | Evan Callaway <evan.callaway@ipconfigure.com> | 2015-12-02 09:00:31 -0500 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-12-07 11:55:27 +0200 |
commit | 4f6f67177eb13750cb68a09f91d75eeb178a52c8 (patch) | |
tree | 7a1eeb9f498a44eaeb907c3389d49b9031ee87c7 | |
parent | fc5ad9e4eb7777c7710979858e2f7286fd9946a7 (diff) | |
download | gstreamer-plugins-base-4f6f67177eb13750cb68a09f91d75eeb178a52c8.tar.gz |
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
-rw-r--r-- | gst-libs/gst/rtsp/gstrtspdefs.c | 2 | ||||
-rw-r--r-- | 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 */ |