After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725878 - rtspconnection: headers in GET response not configurable for tunnels
rtspconnection: headers in GET response not configurable for tunnels
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-07 09:45 UTC by David Svensson Fors
Modified: 2014-03-10 09:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GstRTSPWatch func for tunnel GET response (2.40 KB, patch)
2014-03-07 09:45 UTC, David Svensson Fors
none Details | Review

Description David Svensson Fors 2014-03-07 09:45:12 UTC
Created attachment 271189 [details] [review]
GstRTSPWatch func for tunnel GET response

We have two cases where we need to modify HTTP headers in the response to the GET request for tunneled RTSP connections with gst-rtsp-server:

* We sometimes need to remove "Connection: close"
* We sometimes need to remove X-Server-IP-Address

The attached suggested patch makes it possible to do so, together with another patch in gst-rtsp-server. We add a callback in GstRTSPWatch where the response to HTTP GET for tunneled connections can be modified.
Comment 1 Wim Taymans 2014-03-10 09:50:08 UTC
Also fixed the padding and add a Since tag.

commit 6cd0d10d30569549ede31b15486ec387819f8550
Author: David Svensson Fors <davidsf@axis.com>
Date:   Thu Mar 6 13:50:27 2014 +0100

    rtspconnection: GstRTSPWatch func for tunnel GET response
    
    Add a callback in GstRTSPWatch where the response to HTTP GET for
    tunneled connections can be modified.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725878