gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] youtube cookie bug


From: Rob Savoye
Subject: Re: [Gnash-dev] youtube cookie bug
Date: Tue, 25 May 2010 15:51:30 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Lightning/1.0b1 Thunderbird/3.0.4

On 05/25/10 15:40, strk wrote:

> Gnash currently makes his own sockets.
> I agree ideally it should allow the hosting app to do that instead,
> but anyway in this current situation you can instruct Gnash to read

  Huh ? Right now the plugin code creates the socketpairs for talking to
the the standalone player.

> cookies from a file using the GNASH_COOKIES_IN environment variable.
> The file must be in the mozilla cookie format. See the libcurl page
> about that format [1].

  That environment variable doesn't exist, but CURLOPT_COOKIEFILE is
what's in the man page.

> The curl adaptar code is libbase/curl_adapter.cpp, function importCookies.

  Ah... Since I do now have code that can read the cookies, it should be
easy to write that file of cookie data. Actually, since the cookie data
in the plugin is a string, I could probably pass them on the command
line via an option, instead of the disk file. The read cookies are
already in the right format, so CURLOPT_COOKIE should work.

        - rob -



reply via email to

[Prev in Thread] Current Thread [Next in Thread]