[Opensim-dev] FYI: HTTP pipelining in Sigularity
Teravus Ovares
teravus at gmail.com
Sun Oct 26 06:26:56 UTC 2014
Hi there,
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.
A cursory Search on GitHub looks very promising:
https://github.com/nebadon2025/opensimulator/search?utf8=%E2%9C%93&q=Keepalive
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.
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.
Thanks and Best Regards
Ter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20141025/e338dbfd/attachment.html>
More information about the Opensim-dev
mailing list