[Mono-bugs] [Bug 514591] HttpWebRequest.Abort on a non-responsive asynchronous HttpWebRequest, leaves the TCP socket open.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 24 02:26:49 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=514591

User gonzalo at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=514591#c8


Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED




--- Comment #8 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2009-06-24 00:26:48 MDT ---
No, it's not the OS.
It's just that a bunch of race conditions put together tend to behave this way
;-)...

I was able to reproduce the problem consistently in less than 50 consecutive
runs. Found a couple of race conditions. Also the abort handler being passed to
the HttpWebRequest object could be a delegate to a WebConnection that might not
be the right one if the request was initially queued.

I've fixed all of these and the patch will be in svn in a few.

I still have to check wait_for_tids() in mono/metadata/threads.c because in any
case, the runtime should just exit after waiting a few seconds for the
threadpool threads to finish.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list