Commit Graph
13 Commits
Author SHA1 Message Date
Atsushi Eno 048903c03e 2009-10-13 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
	  significant rewrite to cooperate wcf handler and asp.net handler
	  to not mix multiple WCF listener within the asp.net handler.
	  So far it mostly works when 1) there are no ChannelDispatchers
	  that have an identical listen Uri and 2) MaxConcurrentSessions is
	  1 (must be explicitly set).


svn path=/trunk/mcs/; revision=144008
2009-10-13 12:12:49 +00:00
Atsushi Eno f85fb44369 2009-10-06 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs : use file path given by the factory to
	  construct BaseAddresses. Requests to "test.svc/jsdebug" should
	  not be handled as request to "jsdebug" file, it's rather an
	  "argument" to "test.svc".


svn path=/trunk/mcs/; revision=143545
2009-10-06 18:07:13 +00:00
Atsushi Eno 1b211df0d6 2009-10-06 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs, HttpChannelListener.cs : some significant
	  rewrite to handle shutdown situation better. The listeners should
	  not close channels that it opened. Instead, just stop accepting
	  further requests. Removed blocking mutex on WaitForRequest().
	  Now xsp shuts down as expected.


svn path=/trunk/mcs/; revision=143498
2009-10-06 09:32:38 +00:00
Atsushi Eno 906dd20f80 2009-10-02 Astushi Enomoto <[email protected]>
* System.ServiceModel.dll.sources: add VirtualPathExtension.cs.

	* VirtualPathExtension.cs : new file.

	* HttpTransportBindingElement.cs, SvcHttpHandlerFactory.cs :
	  revert the change, to use internal asp.net state again.
	* SvcHttpHandler.cs : add VirtualPathExtension.

	* ConfigUtil.cs : revert the change, to use ServiceHostingEnvironment
	  internal member again.

	* ServiceHostingEnvironment.cs : revert the change, to use
	  internal asp.net state again.


svn path=/trunk/mcs/; revision=143277
2009-10-02 11:24:40 +00:00
Atsushi Eno bfd1ab4d0f 2009-10-02 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs : remove unused code.


svn path=/trunk/mcs/; revision=143243
2009-10-02 05:22:46 +00:00
Atsushi Eno fe21efeb9c 2009-09-30 Atsushi Enomoto <[email protected]>
* SvcHttpHandlerFactory.cs, HttpTransportBindingElement.cs :
	  use AspNetCompatibilityEnabled.
	* SvcHttpHandler.cs : disable ApplyConfiguration(). It should be done
	  at ServiceHostBase.
	* AspNetReplyChannel.cs : remove extra field.

	* ServiceHostingEnvironment.cs : use AspNetCompatibilityEnabled as
	  ASP.NET switch.


svn path=/trunk/mcs/; revision=142953
2009-09-30 03:47:41 +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 47dfe0a55e 2009-09-04 Atsushi Enomoto <[email protected]>
* ServiceHostBase.cs : URI trailing '/' can be added only when the
	  relative URI is non-empty. Do not make http://host/foo.svc as
	  http://host/foo.svc/ , it's not a directory.

	* SvcHttpHandler.cs : set Uri property based on baseAddresses and
	  path, to pick those endpoints that are added at custom factories.


svn path=/trunk/mcs/; revision=141307
2009-09-04 09:55:04 +00:00
Atsushi Eno 0a17ae4318 2009-09-03 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs : apply configuration, and if there is still no
	  endpoint, then add default one.


svn path=/trunk/mcs/; revision=141230
2009-09-03 11:08:35 +00:00
Atsushi Eno e5518a68ff 2009-09-03 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs : another URL to make relative.


svn path=/trunk/mcs/; revision=141227
2009-09-03 10:49:35 +00:00
Atsushi Eno b7389dd966 2009-09-03 Atsushi Enomoto <[email protected]>
* SvcHttpHandlerFactory.cs : some GetHandler changes.
	* SvcHttpHandler.cs : significant changes on receiver structure. Now
	  ProcessRequest() stores pending requests (this might be extraneous,
	  but maybe useful when it implements async handler). Also removed
	  reply_channel field as it may become to handle multiple requests.
	* HttpChannelListener.cs : bind to corresponding SvcHttpHandler.
	* AspNetReplyChannel.cs : make it receive requests like
	  HttpReplyChannel (for HttpListener) to make them consistent.


svn path=/trunk/mcs/; revision=141224
2009-09-03 10:13:08 +00:00
Atsushi Eno 5ce2b80051 2009-09-03 Atsushi Enomoto <[email protected]>
* SvcHttpHandler.cs : use baseAddresses in ServiceHost and make URIs
	  relative or absolute. new Uri ("/foobar") doesn't work on non-unix
	  environment.


svn path=/trunk/mcs/; revision=141206
2009-09-03 06:13:18 +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