[Mono-bugs] [Bug 417891] System.Net.ServicePoint FindServicePoint broken
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Aug 18 02:05:29 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=417891
User gburt at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=417891#c2
Gabriel Burt <gburt at novell.com> 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 <gburt at novell.com> 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.
More information about the mono-bugs
mailing list