rtspconnection: add Content-Length limit
authorKristofer Bjorkstrom <kristofb@axis.com>
Wed, 27 Mar 2019 11:30:00 +0000 (12:30 +0100)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 22 Apr 2019 09:01:32 +0000 (09:01 +0000)
commit1dea6d52cec8c3d08fd496772adc00381ad6873e
tree3068b3a97b840a4e7c9928cf196f778b86ce454b
parentc70c6c085e4f53b88f8adae39e5771bfece27d09
rtspconnection: add Content-Length limit

Add the possible to limit the Content-Length
Define an appropriate request size limit and reject requests exceeding
the limit (413 Request Entity Too Large)
gst-libs/gst/rtsp/gstrtspconnection.c
gst-libs/gst/rtsp/gstrtspconnection.h
tests/check/libs/rtspconnection.c