Prevent viewer 2 from creating a duplicate outfit inventory links.
Prevent viewer 2 from creating a duplicate outfit inventory links.

I believe this is safe since there is a 1-1 correspondence between link item and worn item (i.e. you can't be wearing the same item at two spots simultaneously in one outfit).
This should stop lots of duplicate links being created when viewer 2 is used.
However, this doesn't prevent broken inventory links, which I believe is timing related since the effect is not consistent (e.g. keep relogging and the viewer should end up seeing them correctly) .  I think we actually see this problem on viewer 1 as well.
It might be easier just to implement the Fetch*2 inventory caps which are documented at http://wiki.secondlife.com/wiki/Inventory_API.  WebFetch* has been deprecated by Linden Lab since viewer 2.5.1 and according to the sl wiki, "has numerous bugs".

BogusCurry/arribasim-dev,ft-/arribasim-dev-tests,OpenSimian/opensimulator,bravelittlescientist/opensim-performance,QuillLittlefeather/opensim-1,QuillLittlefeather/opensim-1,TomDataworks/opensim,rryk/omp-server,M-O-S-E-S/opensim,OpenSimian/opensimulator,justinccdev/opensim,M-O-S-E-S/opensim,justinccdev/opensim,BogusCurry/arribasim-dev,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,ft-/arribasim-dev-extras,Michelle-Argus/ArribasimExtract,TomDataworks/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,RavenB/opensim,TomDataworks/opensim,BogusCurry/arribasim-dev,OpenSimian/opensimulator,ft-/arribasim-dev-extras,ft-/arribasim-dev-tests,ft-/opensim-optimizations-wip-extras,ft-/opensim-optimizations-wip,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,QuillLittlefeather/opensim-1,ft-/arribasim-dev-extras,ft-/opensim-optimizations-wip-extras,justinccdev/opensim,OpenSimian/opensimulator,rryk/omp-server,Michelle-Argus/ArribasimExtract,TomDataworks/opensim,RavenB/opensim,ft-/opensim-optimizations-wip-tests,ft-/arribasim-dev-tests,rryk/omp-server,bravelittlescientist/opensim-performance,M-O-S-E-S/opensim,OpenSimian/opensimulator,BogusCurry/arribasim-dev,RavenB/opensim,ft-/arribasim-dev-tests,rryk/omp-server,M-O-S-E-S/opensim,Michelle-Argus/ArribasimExtract,RavenB/opensim,bravelittlescientist/opensim-performance,M-O-S-E-S/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,Michelle-Argus/ArribasimExtract,QuillLittlefeather/opensim-1,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,ft-/opensim-optimizations-wip-tests,ft-/arribasim-dev-extras,bravelittlescientist/opensim-performance,justinccdev/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,ft-/opensim-optimizations-wip-extras,QuillLittlefeather/opensim-1,ft-/opensim-optimizations-wip,QuillLittlefeather/opensim-1,bravelittlescientist/opensim-performance,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,QuillLittlefeather/opensim-1,ft-/opensim-optimizations-wip-extras,bravelittlescientist/opensim-performance,Michelle-Argus/ArribasimExtract,BogusCurry/arribasim-dev,rryk/omp-server,ft-/arribasim-dev-tests,BogusCurry/arribasim-dev,OpenSimian/opensimulator,ft-/arribasim-dev-extras,rryk/omp-server,Michelle-Argus/ArribasimExtract,M-O-S-E-S/opensim,ft-/opensim-optimizations-wip-extras,RavenB/opensim,M-O-S-E-S/opensim,ft-/opensim-optimizations-wip-tests,ft-/opensim-optimizations-wip,justinccdev/opensim,OpenSimian/opensimulator,TomDataworks/opensim,ft-/opensim-optimizations-wip,ft-/arribasim-dev-tests,TomDataworks/opensim,justinccdev/opensim,ft-/opensim-optimizations-wip-tests,ft-/opensim-optimizations-wip-tests,ft-/arribasim-dev-extras