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
This commit is contained in:
Evan Callaway 2015-12-02 09:00:31 -05:00 committed by Sebastian Dröge
parent 9e4bf58b8e
commit e47643122c
2 changed files with 2 additions and 2 deletions

View file

@ -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},

View file

@ -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 */