[Opensim-dev] Partial libSL.Packet fix submitted

Johan Berntsson johan at ngigroup.com
Thu Dec 20 05:55:02 UTC 2007


>From the IRC:

02:44:09 PM) CIA-1: opensim: chi11ken * r2765 /trunk/ (43 files in 20
dirs): Added patch from Johan. First attempt to solve the LibSL.Packet
GC problem. Works with LibSL rev>1532
(02:50:40 PM) joha2: The patch implements a PacketPool (currently in
UPDServer.cs) which recycles packages. It is used by all incoming
packets, and the RegionHandshakePacket, and can easily be extended to
all outgoing packages later. I have submitted a libSL patch which is
included from rev. 1532, but the libsecondlife.dll version in OpenSim is
based on rev 1498 with these files from the later version
(mapgenerator.cs, Types.cs, template.cs). Rev. 1532 compiles and works,
but the avatar's clothes are gray, so something is wrong. I don't think
this is caused by my changes, but by other changes in LibSL, and I'm
hoping that someone can figure out what's wrong. Until then 1498 + the
patched files from 1532 should be ok.
---
I will need to expand the fix to work for all packets and do performance
testing to verify that it works better, but this should work for now.

Cheers,
Johan





More information about the Opensim-dev mailing list