Skip to content
  • Per Forlin's avatar
    rtspconnection: Replace Auth header instead of append · 76aa92be
    Per Forlin authored and Sebastian Dröge's avatar Sebastian Dröge committed
    gst_rtsp_connection_send() adds the Authorization header to the request.
    If this function is being called multiple times with the same request
    it will add one more Authorization header every time.
    
    To fix to this issue do not append a new Authorization header on
    top of an existing ones. Remove any existing Authorization headers first
    and then add the new one.
    
    Fixes gst-plugins-good#425
    76aa92be