rtsp: Do not split headers which should not be split.
authorPeter Kjellerstedt <pkj@axis.com>
Thu, 20 Aug 2009 12:12:50 +0000 (14:12 +0200)
committerPeter Kjellerstedt <pkj@axis.com>
Mon, 24 Aug 2009 11:19:45 +0000 (13:19 +0200)
commit607209f1214ec84f720e449667d334622eccc13f
tree5a18038336cf9a99b59f4c2f94f274b72bce5131
parent08d3fe856102b1374d30e8bb35cf59a00899141b
rtsp: Do not split headers which should not be split.

From RFC 2068 section 4.2: "Multiple message-header fields with the same
field-name may be present in a message if and only if the entire
field-value for that header field is defined as a comma-separated list
[i.e., #(values)]." This means that we should not split other headers which
may contain a comma, e.g., Range and Date.
gst-libs/gst/rtsp/gstrtspconnection.c
gst-libs/gst/rtsp/gstrtspdefs.c
gst-libs/gst/rtsp/gstrtspdefs.h