diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-03-16 15:12:07 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-05-09 14:27:00 +0200 |
commit | eee911bd1e44efe74b05b3771ebe09cdae742db7 (patch) | |
tree | 0f56953bae97417ae3a98805397d445523a21605 /ext | |
parent | 7cb70e7aeaf5fafadb07e0f30ca7b4ccfd85f695 (diff) |
souphttpsrc: Use a in-memory cookie jar by default in sessions we created
This ensures that cookies are stored and used as set by the server, and
shared with other souphttpsrc that use the same SoupSession.
https://bugzilla.gnome.org/show_bug.cgi?id=780140
Diffstat (limited to 'ext')
-rw-r--r-- | ext/soup/gstsouphttpsrc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index 986c4c09c..46f07e4bb 100644 --- a/ext/soup/gstsouphttpsrc.c +++ b/ext/soup/gstsouphttpsrc.c @@ -967,6 +967,7 @@ gst_soup_http_src_session_open (GstSoupHTTPSrc * src) GST_ELEMENT (src)); soup_session_add_feature_by_type (src->session, SOUP_TYPE_CONTENT_DECODER); + soup_session_add_feature_by_type (src->session, SOUP_TYPE_COOKIE_JAR); if (can_share) { GstContext *context; |