Commit e4764312 authored by Evan Callaway's avatar Evan Callaway Committed by Sebastian Dröge

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
parent 9e4bf58b
......@@ -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},
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment