Wim Taymans
cb16d0b239
curlhhtpsrc: avoid invalid memory references
...
gst_curl_http_src_remove_queue_item() can free qelement and then
we get an invalid memory reference when we do qelement->next a
couple of lines below. Take the next pointer earlier so that we can
safely free.
2018-08-16 11:44:27 +02:00
Jun Xie
cb1b143b5b
curlhttpsrc: deadlock in multi-instance scenario
...
Fixed queue iterator issue and set context state to
GSTCURL_MULTI_LOOP_STATE_RUNNING in case other
instance are in running state.
https://bugzilla.gnome.org/show_bug.cgi?id=793863
2018-04-24 14:18:20 -04:00
Edward Hervey
8d99867c13
curlhttpsrc: Don't leak structure
...
CID #1415716
2017-11-22 16:58:11 +01:00
Edward Hervey
d4afba794a
curlhttpsrc: Post an error message if no URI was set
...
Like for other sources
2017-11-21 16:30:35 +01:00
Edward Hervey
69d794b004
curl: Add i18n
2017-11-21 16:30:17 +01:00
Edward Hervey
26108d829b
curlhttpsrc: Fix return value
...
The function returns a gchar * (and not a boolean)
2017-11-21 15:33:08 +01:00
Edward Hervey
b8cb08c319
curlhttpsrc: Don't switch to PAUSED if not URI was specified
...
Like for other sources
2017-11-21 15:31:05 +01:00
Alex Ashley
048d703577
curlhttpsrc: set http-version default if curl does not have HTTP2 feature present
...
If the version of the curl library is recent enough to allow support
for HTTP2 (i.e. CURL_VERSION_HTTP2 is defined) but does not actually
have that feature enabled, the call to
g_object_class_install_property() uses an incorrect default value for
the "http-version" property. The default should be 1.1 if HTTP2 is
not supported by libcurl or if not enabled by libcurl.
https://bugzilla.gnome.org/show_bug.cgi?id=786049
2017-08-09 17:59:31 +03:00
Sam Hurst
6baa66a889
curlhttpsrc: Does version set fail because of HTTP2
...
Check to see if setting CURL_HTTP_VERSION_2_0 failed due to lack of HTTP/2
support or some bigger underlying libcurl failure
https://bugzilla.gnome.org/show_bug.cgi?id=785878
2017-08-08 09:06:49 +01:00
Philippe Normand
5bf092bd64
curlhttpsrc: set http-version class property as enum
...
This matches better with the preferred_http_version which was already declared
as enum.
https://bugzilla.gnome.org/show_bug.cgi?id=785878
2017-08-08 09:06:49 +01:00
Reynaldo H. Verdejo Pinochet
d82ae7a45f
curlhttpsrc: do not check for NULL before g_free()
...
g_free() is NULL-safe.
2017-07-26 16:51:50 -07:00
Sam Hurst
85eb69d717
curlhttpsrc: Fix flagged Coverity errors
...
Fixes CIDs 1415707 - 1415717
2017-07-26 23:16:10 +03:00
Sam Hurst
b922edce7b
curl: Reorganise header files to fix macOS builds
...
https://bugzilla.gnome.org/show_bug.cgi?id=744261
2017-07-26 18:57:38 +01:00
Edward Hervey
07afe5da0c
curlhttpsrc: Fix compilation without debugging system enabled
2017-07-26 09:19:42 +02:00
Sam Hurst
e74b3a02dd
curl: Add curlhttpsrc element
...
Merged from https://github.com/bbc/gst-curlhttpsrc commit
f8aabcfc5c50a44f3362de831377d6e86dcd2d49
https://bugzilla.gnome.org/show_bug.cgi?id=744261
2017-07-26 09:52:20 +03:00