https://bugzilla.novell.com/show_bug.cgi?id=417891

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=417891#c2


Gabriel Burt <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
           Priority|P5 - None                                       |P2 - High
            Summary|System.Net.HttpWebRequest redirection broken    
|System.Net.ServicePoint FindServicePoint broken




--- Comment #2 from Gabriel Burt <[EMAIL PROTECTED]>  2008-08-18 00:05:29 MDT 
---
OK, traced this a bit farther.  The bug as I've traced is thus far is caused by
ServicePoint.FindServicePoint, where it does:

int key = address.GetHashCode () + (int) ((useConnect) ? 1 : 0);
sp = servicePoints [key] as ServicePoint;

But the hash code for the two (quite different) Uris is the same, so it gets
the same ServicePoint for them, meaning the second URL ends up using the
first's IP address.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to