[Mono-bugs] [Bug 429200] Cannot re-call start of asynchronous method... Error
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Oct 8 05:40:14 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=429200
User alan.mcgovern at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=429200#c1
Alan McGovern <alan.mcgovern at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alan.mcgovern at gmail.com
Status|NEW |NEEDINFO
Info Provider| |andrew at coupesonline.com
--- Comment #1 from Alan McGovern <alan.mcgovern at gmail.com> 2008-10-08 03:40:14 MDT ---
This is either a bug in the documentation or a bug in the MS implementation.
The documentation states that multiple calls to GetRequestStream should thrown
an invalid operation exception.
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.getrequeststream.aspx
What I assume is happening is that MS.NET is instead returning the same stream
instance when you make multiple calls to GetRequestStream.
You can verify that this is true. You can do this by calling:
Console.WriteLine("Streams are same: {0}",
request.GetRequestStream() == request.GetRequestStream());
--
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