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 711689 - client: allow absolute path in requests
client: allow absolute path in requests
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
unspecified
Other Linux
: Normal enhancement
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-08 15:14 UTC by Patricia Muscalu
Modified: 2014-02-25 22:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
client: allow absolute path in requests (4.33 KB, patch)
2013-11-08 15:14 UTC, Patricia Muscalu
needs-work Details | Review
client: allow absolute path in requests (3.90 KB, patch)
2013-11-12 10:12 UTC, Patricia Muscalu
committed Details | Review

Description Patricia Muscalu 2013-11-08 15:14:34 UTC
Created attachment 259280 [details] [review]
client: allow absolute path in requests

According to http://www.ietf.org/rfc/rfc2326.txt, RTSP requests should always 
contain the absolute URL.
Many clients send absolute paths in the RTSP requests.
Comment 1 Sebastian Dröge (slomo) 2013-11-11 17:45:15 UTC
Review of attachment 259280 [details] [review]:

Remove the common change from the patch please

::: tests/check/gst/client.c
@@ +193,3 @@
+  /* OPTIONS with an absolute path instead of an absolute url */
+  /* set host information */
+  fd = socket (AF_INET, SOCK_STREAM, 0);

This is not very portable, better use GIO to create the socket too.
Comment 2 Patricia Muscalu 2013-11-12 10:12:41 UTC
Created attachment 259646 [details] [review]
client: allow absolute path in requests
Comment 3 Wim Taymans 2013-11-12 11:23:03 UTC
commit adc02db975d8bf615dda3e33efcb0feb490f5e83
Author: Patricia Muscalu <patricia@axis.com>
Date:   Tue Nov 12 10:55:14 2013 +0100

    client: allow absolute path in requests
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=711689