rtsp-client: Also handle the (S|G)ET_PARAMETER case of size==0 || !data as keep-alive
authorSebastian Dröge <sebastian@centricular.com>
Thu, 19 Jan 2017 12:57:19 +0000 (14:57 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 19 Jan 2017 12:57:19 +0000 (14:57 +0200)
commitcd4e675f0cd91619d3acfe85ceeb4ae103762d6d
tree6b83c12545f1d87c567993508d4513ac4faafcb9
parentac1124efb4e5e1cef2853628ba5cb46cdb30308d
rtsp-client: Also handle the (S|G)ET_PARAMETER case of size==0 || !data as keep-alive

If there is no Content-Length header, no body would be allocated and the
'\0' would also not be appended to the body.
gst/rtsp-server/rtsp-client.c