mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
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:
parent
9e4bf58b8e
commit
e47643122c
2 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue