mherger wrote: 
> > That sounds perfect, thanks.   Apologies for my ignorance,  I can't
> see
> > where I submit a request for somebody to update the "include.json". 
> Is
> > there a forum thread, or do I just ask here?
> 
> It's fine, I picked it up and added it already.
> 
> > I'm a bit cautious (probably unnecessarily) , as I'm new to LMS
> > development.
> 
> Had a quick glance at one of your plugins. I'd strongly suggest you 
> replace using LWP with LMS' own async http calls 
> (Slim::Networking::SimpleAsyncHTTP). The problem with LWP calls is that
> 
> they're blocking: if the other end doesn't respond quickly, your call 
> might block all of LMS, waiting for the response.
> 
> Feel free to ask in the dev forum about it.
> 
> -- 
> 
> Michael

Ok, thanks for the pointers.  Although I had to switch from
SimpleAsyncHTTP in certain places to hook in to the onRedirect event as
LMS seems to unexpectedly keep the HTTP POST on redirect when the
servers it is talking to is expecting it to switch to a HTTP GET when
making the redirect call (that certainly how browsers behave). 
Admittedly that only needs to happen on on specific function on sign up,
so I can switch all the rest to SimpleAsyncHTTP.  I'll create an issue
and fix all the rest.


------------------------------------------------------------------------
expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263
View this thread: http://forums.slimdevices.com/showthread.php?t=113045

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to