Commit Graph
23 Commits
Author SHA1 Message Date
Atsushi Eno fb1082c642 2010-04-23 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs : remove old Http Keep-Alive workaround.


svn path=/trunk/mcs/; revision=155975
2010-04-23 07:05:56 +00:00
Atsushi Eno 18949880fe 2010-04-19 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs : use local var to hold wait handle to avoid
	  possible NRE on field. Based on the patch by Matt Dargavel.


svn path=/trunk/mcs/; revision=155692
2010-04-19 03:53:24 +00:00
Atsushi Eno 4ef24ed9ad 2010-04-06 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs : fill To header only if it does not exist.


svn path=/trunk/mcs/; revision=154826
2010-04-06 08:46:42 +00:00
Atsushi Eno fbd6bb5853 2010-03-24 Atsushi Enomoto <[email protected]>
* ReplyChannelBase.cs, HttpReplyChannel.cs : add some locking.
	  Patch by Matt Dargavel.


svn path=/trunk/mcs/; revision=154125
2010-03-24 10:54:55 +00:00
Atsushi Eno 7d0100c9af 2010-03-03 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs,
	  HttpListenerManager.cs : ongoing authentication support. It returns
	  401 as expected, but somehow fails to retrieve user info.


svn path=/trunk/mcs/; revision=152941
2010-03-03 15:24:58 +00:00
Atsushi Eno 5b9ed19fc2 2010-01-22 Atsushi Enomoto <[email protected]>
* 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
2010-01-22 03:06:48 +00:00
Atsushi Eno 56c050c5ae 2009-10-22 Atsushi Enomoto <[email protected]>
* 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
2009-10-22 07:01:40 +00:00
Atsushi Eno 8576862d51 2009-10-20 Atsushi Enomoto <[email protected]>
* 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
2009-10-20 06:43:01 +00:00
Atsushi Eno 3099dda7eb 2009-10-16 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs : fix warning.


svn path=/trunk/mcs/; revision=144261
2009-10-16 11:24:23 +00:00
Atsushi Eno 5b129557f5 2009-10-15 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.


svn path=/trunk/mcs/; revision=144221
2009-10-15 18:18:00 +00:00
Atsushi Eno 2ff65aad8a 2009-10-15 Atsushi Enomoto <[email protected]>
* 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
2009-10-15 13:50:47 +00:00
Atsushi Eno e9fdeaa1a6 2009-10-06 Atsushi Enomoto <[email protected]>
* 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
2009-10-06 09:25:24 +00:00
Atsushi Eno 061db132e8 2009-10-02 Atsushi Enomoto <[email protected]>
* 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
2009-10-02 05:37:15 +00:00
Atsushi Eno f98f78d7b8 tsushi Enomoto <[email protected]>
* HttpReplyChannel.cs : remove extra field.


svn path=/trunk/mcs/; revision=142908
2009-09-29 17:21:15 +00:00
Atsushi Eno 6598a1ace1 2009-09-29 Atsushi Enomoto <[email protected]>
* 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
2009-09-29 15:06:36 +00:00
Atsushi Eno f5d6d3167b 2009-09-06 Atsushi Enomoto <[email protected]>
* 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
2009-09-06 10:32:38 +00:00
Atsushi Eno bbe1510f77 2009-08-06 Atsushi Enomoto <[email protected]>
* ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
	  implement remaining async methods and LocalAddress.


svn path=/trunk/mcs/; revision=139466
2009-08-06 11:41:46 +00:00
Atsushi Eno 29d6585f14 2009-06-18 Atsushi Enomoto <[email protected]>
* ReplyChannelBase.cs, HttpReplyChannel.cs :
	  Add cancellation hook for async TryReceiveRequest.


svn path=/trunk/mcs/; revision=136407
2009-06-18 14:16:07 +00:00
Atsushi Eno 13cb841a01 2009-06-16 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs : cosometic simplification.


svn path=/trunk/mcs/; revision=136219
2009-06-16 13:30:06 +00:00
Atsushi Eno bc5d68a2a4 2009-06-11 Atsushi Enomoto <[email protected]>
* 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
2009-06-11 09:33:54 +00:00
Atsushi Eno 3985a2029a 2009-06-10 Atsushi Enomoto <[email protected]>
* HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
	  now implemented as virtual in base class. Remove NIEs in http.


svn path=/trunk/mcs/; revision=135823
2009-06-10 05:52:37 +00:00
Atsushi Eno 84d82f89c4 2009-06-08 Atsushi Enomoto <[email protected]>
* 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
2009-06-08 16:37:52 +00:00
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00