I'm working on a new soundcloud plugin that needs to use SSL. I know that the SimpleAsyncHTTP module will use other modules which eventually check for the presence of IO::Socket::SSL and use it, if found. I dropped in a version of this module (from the old MLB game day plugin distro), and its dependency NET::SSLeay with its dlls, etc, into my plugin lib. They are found and loaded up, but I end up getting an error saying it cannot load the SSLeay.dll file (If i remove the dll I get a different error, so I know its something to do with actually loading the correctly located dll). I then removed IO::Socket::SSL and Net::SSLeay from my plugin and instead tried using LWP for https access. This works fine. This tells me that Crypt::SSLeay must be built into the windows squeezebox server exe since LWP relies on it for SSL support. That module requires a SSLeay.dll of its own in order to work. My guess here is that those two modules (Crypt::SSLeay and Net::SSLeay) cant be used at the same time because of those dlls. I cant find that dll on disk, so it must somehow be wrapped up inside the exe.
You might say, ok then, so use LWP in your plugin. Well....I need to do Async HTTP to keep things responsive. I'm not sure if its related, but it seems that the playlist play command wont handle a https url either. I could try using Parallel LWP UserAgents, etc, to try to do a form of async, but I'd rather use the built in (AnyEvent based, it looks like) event loop and async support. I know that http://bugs.slimdevices.com/show_bug.cgi?id=8084 exists to track putting Net::SSLeay into the windows squeezebox server, but my problem is that with the current server distro, it seems I cant even include my own copy in my plugin to be used. I'm left with using LWP for my web service calls, and only support streaming urls can be accessed over http. Can one of the developers help me out on this? Perhaps give me some pointers on getting Net::SSLeay working inside the windows squeezebox server, or recreate my problem, etc. Anything that could help me get async https working using the existing networking libraries. I'd really appreciate the help. bruce -- brucehappy ------------------------------------------------------------------------ brucehappy's Profile: http://forums.slimdevices.com/member.php?userid=42030 View this thread: http://forums.slimdevices.com/showthread.php?t=85885 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
