* HttpReplyChannel.cs, HttpListenerManager.cs :
Implement async cancellation in the expected manner (though with
some hack). This mostly removed nunit blockers.
* NetTcpBindingTest.cs : enabled connection tests again, as they
got working again (and more importantly, they don't block).
* CallbackBehaviorAttributeTest.cs : on the other hand, disabled
a test so far. It is the only active test && the blocker now.
svn path=/trunk/mcs/; revision=150037
* SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
HttpChannelListener.cs, HttpListenerManager.cs :
Similar refactoring on ASP.NET side to the previous one.
Added ASP.NET implementation of HttpListenerManager and use some
part of it in SvcHttpHandler (ASP.NET stack does not fully make use
of the manager yet).
Rewrote AspNetReplyChannel to become almost the same as
HttpSimpleReplyChannel, to hopefully unify them later.
Now it dispatches requests to *.svc for wsdl, help and SOAP as long
as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
are still broken.
svn path=/trunk/mcs/; revision=144605
* HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
Refactoring on listener manager to correctly handle wsdl and help
requests for such case that they conflict in addressing. Now it
can correctly distinguish service calls, WSDL requests and help
requests when all of them point to "http://localhost/foo.svc"
(which is very common case that the user does not change Http*Url).
* ServiceMetadataExtension.cs : restructure internal channel property
so that http channels can cope with it.
svn path=/trunk/mcs/; revision=144419
* HttpReplyChannel.cs : make sure to release wait lock.
* HttpChannelListener.cs : session channels are not supported, so
remove relevant NIEs.
svn path=/trunk/mcs/; revision=144202
* HttpReplyChannel.cs : lock list when releasing its content contexts.
* AspNetReplyChannel.cs : send EndRequest() to handler when it is
closing.
svn path=/trunk/mcs/; revision=143497
* HttpReplyChannel.cs, AspNetReplyChannel.cs, AspNetRequestContext.cs:
asp.net response was not written correctly.
Fill HttpRequestMessageProperty to get handle WSDL requests
processed in ServiceMetadataExtension without NRE.
Remove wrong HttpListenerContext iteration at Abort and Close in
common base class and move it to non-asp derived channel.
svn path=/trunk/mcs/; revision=143244
* AspNetReplyChannel.cs, HttpReplyChannel.cs : add some comments.
* SvcHttpHandlerFactory.cs, SvcHttpHandler.cs, HttpChannelListener.cs:
Make sure that AspNetChannelListener is bound to correct
SvcHttpHandler, regardless of specific request URI. It is required
for both WSDL requests and RESTful binding requests.
svn path=/trunk/mcs/; revision=142880
* ContractDescriptionGenerator.cs : default action name is prepended
"urn:", and on the other hand do not add extra '/' in such case.
* HttpRequestChannel.cs : Fix message version member comparison.
Double-quote SOAPAction. Remove extra Exception.
* HttpReplyChannel.cs : ditto for version comparison. Unquote above.
* HttpRequestContext.cs : when addressing is None, remove action
from the message.
svn path=/trunk/mcs/; revision=141394
* HttpReplyChannel.cs : reject multiple WaitForRequest calls.
Temporarily disable HTTP Keep-Alive since it somehow results in
wrong reuse of connection (shown as NRE in HttpConnection).
Make sure to close RequestContext which was created from it.
* HttpRequestContext.cs : simplify.
svn path=/trunk/mcs/; revision=135921
* HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
now implemented as virtual in base class. Remove NIEs in http.
svn path=/trunk/mcs/; revision=135823
* HttpChannelManager.cs, HttpTransportBindingElement.cs,
HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
they should be split into separate listener->reply channel lines
(remove "if (HostingEnvironment.IsAspNet)".)
svn path=/trunk/mcs/; revision=135668