[Mono-bugs] [Bug 59202][Maj] Changed - Authenticated WebService Accessed in a loop causes a 401 Unauthroized on the 9th iteration [TEST CASE ATTACHED]

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 27 May 2004 18:25:03 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lluis@ximian.com.


--- shadow/59202	2004-05-27 14:36:24.000000000 -0400
+++ shadow/59202.tmp.3225	2004-05-27 18:25:03.000000000 -0400
@@ -48,6 +48,10 @@
 The server is returning an authentication failure at the 10th request.
 The web service client is just reporting that failure. It seems that
 this is a limitation in the server. However, this works on MS.NET,
 which means that our HttpWebRequest is not working like in MS.NET.
 Gonzalo, can this be related to connection reusing? maybe we should
 not reuse connections when using authentication?
+------- Additional Comments From lluis@ximian.com  2004-05-27 18:25 -------
+Ok, the problem is that DigestClient caches the DigestSession per url.
+Disabling the cache, the test case works.