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