<div dir="ltr"><div>Keepalive is a 'per service call' defined boolean.   So where you will need to set it for inventory would be somewhere in the REST handler for Inventory.   <br><br></div><div>As far as it being set to true for 'good grids', I can't really comment much except that OSGrid instances, at least were running a mostly bare OpenSimulator installation from Git.   These were typically slightly customized by Nebadon to make connecting the simulator to OSGrid slightly easier..  however it's unlikely that he changed that flag for OSGrid.<br></div><div><br></div>Thanks and Best Regards<br><br>Teravus<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 13, 2014 at 11:01 AM, Nicky Perian <span dir="ltr"><<a href="mailto:nickyperian@gmail.com" target="_blank">nickyperian@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi , I have some interest in how this works.<div><br><div>I have a version of Kokua that is maintained closely to the Second Life viewer. This viewer has good performance on  3rd Rock Grid, Great Canadian Grid, jOpenSimWorlds, and OsGrid up until it went down. On other grids and git master the grid inventory downloads but the user (My Inventory) does not. </div><div><br></div><div>Is it possible that the Keepalive variable is true on the good grids and false on the others? If so, how is Keepalive set for http inventory? It appears its true/false state is set in code. I have a local git master and can compile it for testing this theory. Which bool Keepalive do I need to set?</div><div><br></div><div>Thanks,</div><div>Nicky</div><div><br></div><div>P.S. Once logged to one of the good grids I can HG tp to any grid that allows it and everything is normal.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Oct 26, 2014 at 1:26 AM, Teravus Ovares <span dir="ltr"><<a href="mailto:teravus@gmail.com" target="_blank">teravus@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Hi there, <br><br></div>Last I checked, OpenSim supports sharing a single processing thread amongst multiple connections.    I know there's a KeepAlive which can be enabled by Setting the KeepAlive property to true in the response in the HTTP Stack.  While digging through HTTPServer, it did have a request parser reset function call that was used when keepalive was being set and it seemed to work when I tried it previously.  It might be worthwhile to give it a shot.    <br></div><br></div><div>A cursory Search on GitHub looks very promising: <a href="https://github.com/nebadon2025/opensimulator/search?utf8=%E2%9C%93&q=Keepalive" target="_blank">https://github.com/nebadon2025/opensimulator/search?utf8=%E2%9C%93&q=Keepalive</a><br><br></div><div>One thing to note, "Currently OpenSim does not support http pipelining (and doesn't return 
Keep-Alive). However, returning Keep-Alive only means that the same 
connection can be re-used after the previous one finished and is not a 
guarantee for http pipelining."   - From the github search, It seems like OpenSimulator does return keepalive on a case by case basis...  which indicates that really what the heuristics should decide is does the individual CAP support keepalive.<br><br>When working with WebSockets I also created a method in the HttpServer 
Library to take control over the stream.    Worst comes to worst, that 
method could be used to manhandle the stream into supporting Keepalive.<br></div><div><br></div>Thanks and Best Regards<br><br></div>Ter<br></div>
<br></div></div><span class="">_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@opensimulator.org" target="_blank">Opensim-dev@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev</a><br>
<br></span></blockquote></div><br></div>
<br>_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@opensimulator.org">Opensim-dev@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev</a><br>
<br></blockquote></div><br></div>