[Mono-dev] [PATCH] SoapHttpClientProtocol Thread Safety fix.

Hubert FONGARNAND informatique.internet at fiducial.fr
Fri Nov 30 08:26:53 EST 2007


Hi Arina,

I'm experiencing some problems with WebService client with mono :
I get some :


Error thrown in application CASServer, message is : Error getting response stream (ReadDone2): ReceiveFailure Exception System.Net.WebException: Error getting response stream (ReadDone2): ReceiveFailure ---> System.Exception: 
at System.Net.WebConnection.HandleError ()
at System.Net.WebConnection.ReadDone ()
at System.MulticastDelegate.invoke_void_IAsyncResult ()
at System.Net.Sockets.Socket+SocketAsyncResult.Complete ()
at System.Net.Sockets.Socket+Worker.Receive ()
at System.MulticastDelegate.invoke_void ()
at System.Net.WebConnection.HandleError (WebExceptionStatus st, System.Exception e, System.String where) [0x00000] --- End of inner exception stack trace ---

at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] 
at System.Net.HttpWebRequest.GetResponse () [0x00000] 
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse (System.Net.WebRequest request) [0x00000]


On our production server... but i can't reproduce this specific problem
on my dev machine.
Does your patch is related to this kind of problem?
Had you ever get such problems?

Thanks 


Le jeudi 15 novembre 2007 à 04:56 -0800, Arina Itkes a écrit :

> 	Hi all,
> 
> 	Please review the attached patch. 
> 
> 	It contains synchronization fix for the class
> WebClientAsyncResult and light changes for the class WebClientProtocol
> that is a base of SoapHttpClientProtocol for thread safety purpose.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

_________________________________________________
Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071130/1f297825/attachment.html 


More information about the Mono-devel-list mailing list