<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">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>