|
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
|
10-15-2008 19:13
What do you guys think of this one? http://wiki.secondlife.com/wiki/LSL_http_serverWhat immediately hit my eye was the 2k limitation for every request. As with the current HTTP-Request, I just don't think that'll be enough. Heck, I don't wanna transfer a novel, but wanna be able to transfer a reasonable amount of data without splitting it up and make subsequent requests...
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
10-15-2008 19:56
From: Haruki Watanabe What do you guys think of this one? http://wiki.secondlife.com/wiki/LSL_http_serverWhat immediately hit my eye was the 2k limitation for every request. As with the current HTTP-Request, I just don't think that'll be enough. Heck, I don't wanna transfer a novel, but wanna be able to transfer a reasonable amount of data without splitting it up and make subsequent requests... Have been waiting anxiously for it and can live with the 2k limit. This is going to get rid of one heck of a lot of needless polling that has been necessary. But if you want the limit increased to something like 4096, it wouldn't hurt to put it in the jira. Kelly does a better job of listening to the scripters then most.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Laurence Corleone
Registered User
Join date: 12 Oct 2006
Posts: 126
|
10-16-2008 00:27
2k is enough to kick other processes into action so that a steady feed of info out of SL is not needed, only send the info when it is asked for. Much much needed.
_____________________
There are no stupid questions, just stupid people.
|
|
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
|
10-16-2008 02:29
Thanks Jesse... I added my 2c to the JIRA - let's see what happens  Seems like this is in beta right now, so we might see it pretty soon on the main grid. I really can't wait to get my hands on it since it will make object to object communication a lot easier. It's really just the 2k limit that bugs me. I have a project running right now which tracks airplanes. The data I transfer contains about 8 variables, including plane-type, scheduled start/landing time, carrier, origin/destination airport and some more. Depending on the lenght of the text vars, the data gets capped so I have to make subsequent calls to the webservice. I guess having more HTTP-calls is worse than having a little more data that's being transferred... But anyway - I hope we'll see this soon!
|
|
Richard Meiklejohn
Registered User
Join date: 15 May 2006
Posts: 45
|
10-17-2008 02:45
Haruki, Isn't one way round this to use the http-in to say 'data available' and the old HttpRequest to then fetch the data? Also, can we not simply use Comet - long lived Http-requests, the response of which the server contributes data to as and when it has it? This is how servers fake being able to 'push' content to browsers currently, using 'reverse-ajax' technology. I've just started playing with it to build collaboration apps for use in SL, like a shared post-it note board.
|
|
Periapse Linden
Linden Lab Employee
Join date: 27 Apr 2007
Posts: 14
|
http-in beta
10-17-2008 14:34
You can now try out the http-in LSL functions. Several sandboxes on the preview grid have been deployed with Kelly Linden's latest build. Instructions are at: https://wiki.secondlife.com/wiki/LSL_http_server/betaCheers! --Peri
|
|
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
|
10-18-2008 03:12
Great news, Periapse! I'll definitely try that  Richard, I guess, your attempt will not work. To my understanding the body of the http-request gets capped by the server. So, no matter how much data you send, only 2k will arrive inworld. And - to my understanding - you can't make a request «live» longer, either...
|
|
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
|
10-18-2008 21:20
Even a string of 2K blocks coming in when needed is better than every item throughout SL polling my website every 10 seconds just to find out there is no message. 2k should be adequate for all except text files.
|