restsharp/RestSharp — Issue #202: Thread safety in RestClient.AddDefaultParameter
Author: Nordis
Created: 2012-01-16 16:46:34+00:00
State: open

Using RestSharp in ASP.NET I sometimes got IndexOutOfRange exception. I think "DefaultParameters.Add(p);" isn't thread safe, so I guess using a lock of DefaultParameters is a good idea.