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 -
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev