|
Waffle Projects
Registered User
Join date: 9 Aug 2006
Posts: 38
|
10-05-2007 11:42
I am working on a server application for coordinating the activities of various agents in and out of Second Life. I'd like to be able to create an event notification system wherein a Second Life object could register with the server application to be listening for a particular event to happen. one way to do this is for the object to make an http request that causes that object to be registered as a listener. then the server notifies the object when the event occurs using xml-rpc.
another way would be for the http request not to resolve immediately, but rather have the event notification take the form of the http_response. this could take a long time however, but how long do I have? how long can I delay the response before it times out?
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
10-05-2007 11:50
offhand... dunno, but this might help you test http://wiki.secondlife.com/wiki/Http_response
|
|
Stephen Psaltery
Registered User
Join date: 4 Jan 2005
Posts: 19
|
10-09-2007 10:05
SL will send a status code 499 back to your script when the call has timed out, so you can just run a simple timer to check out how long that takes. Unfortunately, SL can also send a 499 that means other things, such as that the SSL certificate wasnt' valid and you are forcing validation.
_____________________
Respectfully, St Psaltery
|
|
Waffle Projects
Registered User
Join date: 9 Aug 2006
Posts: 38
|
10-09-2007 11:34
ran tests. yes, it sends a 499 (which seems to be what it sends for all sorts of different things according to the wiki docs) and it times out after 60 second.
|