[Mono-dev] Using Mono.Security with .Net 1.1

Florin Daneliuc florin.daneliuc at iquestint.com
Fri Aug 7 10:37:43 EDT 2009


I'm working on a older project which uses Mono.Security with .Net 1.1 for the SSL capabilities. The project is using an older version of the library from around 2004-2006. Recently while creating some test we seen that starting from a test a number of TLS connections (100-500) caused some of them (2-10 connections) to get stuck in blocked state with no errors raise (the cause was creating connection at intervals less then 20s).

Taking the latest sources this problem was fixed, but another one arouse, a System.ExecutionEngineException happens when trying to simulate some data transfer. The stack trace of the exception is
 System.Runtime.Remoting.Messaging.StackBuilderSink. The exact stack trace is
  mscorlib.dll!System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Messaging.IMessageSink replySink) + 0x1a6 bytes
  mscorlib.dll!System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object o) + 0x3f bytes

The scenario is: TestService1 connects through ServiceA to TestService2. The exact scope is to test the ServiceA under load.
When I start TestService1 this sends data to TestService2 (through the ServiceA proxy) which will send back some response data. After sending some packages (1 to 30 packages) from TestService1 I get this exception on the second service but only when I use the new Mono.Security version, using the older version It works just fine.
If I compile the whole stuff using .Net 2.0 everything seems to work just fine. Is there a known issues compiling the Mono.Security library under .Net 1.1?

Thank you,
Florin Daneliuc
Senior Software Engineer
IQUEST Technologies SRL
RO 400001 Cluj Napoca, Motilor 6-8
Tel:  +40-(0)264-592531
Fax:  +40-(0)264-590682
E-mail:  florin.daneliuc at iquestint.com<mailto:florin.daneliuc at iquestint.com>
Web:  www.iquest-group.de<http://www.iquest-group.de/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090807/0cd2ab78/attachment-0001.html 

More information about the Mono-devel-list mailing list