* BindingContext.cs : actually clone is needed everywhere else too.
* CustomBinding.cs : remove extra field.
* BindingContextTest.cs : add a couple of tests with related to
RemainingBindingElements use. Some tests by Andreia Gaita.
svn path=/trunk/mcs/; revision=157350
* BindingContext.cs: Copy elements from the original binding only when
creating it, never when cloning it. This way, CanBuildInnerChannel can
work recursively as it should.
2010-05-14 Atsushi Enomoto <[email protected]>
* CustomBinding.cs : return clone collection.
* BindingContext.cs :
Simply use RemainingBindingElements in builder methods.
Clone() should be deep copying (as documented).
* BinaryMessageEncodingBindingElement.cs
MtomMessageEncodingBindingElement.cs
TextMessageEncodingBindingElement.cs
HttpCookieContainerBindingElement.cs :
do not add itself to RemainingBindingElements.
* HttpChannelFactory.cs
HttpChannelListener.cs
TcpChannelFactory.cs
TcpChannelListener.cs
MsmqChannelFactory.cs
MsmqChannelListener.cs
NamedPipeChannelFactory.cs
NamedPipeChannelListener.cs
PeerChannelFactory.cs
PeerChannelListener.cs : do not iterate RemainingBindingElements.
Instead, iterate all binding elements in the CustomBinding.
svn path=/trunk/mcs/; revision=157345
* HttpListenerManager.cs : fixed the issue that mex_info is never
retrieved from the latest channel listener (which could be other
listener than the one which was set mex info).
* ServiceMetadataExtension.cs : raise an error if it failed to set
mex info. (Make it safer.)
svn path=/trunk/mcs/; revision=155991
* HttpChannelListener.cs, HttpListenerManager.cs :
actually it should be ChannelDispatcher-to-HttpChannelListener,
to identify which dispatcher to send reqs.
* ServiceHostBase.cs: (ditto)
svn path=/trunk/mcs/; revision=155982
* ServiceHostBase.cs : add host-to-http-listener mapping so that
they can be managed per host.
* HttpTransportBindingElement.cs,
HttpChannelListener.cs,
HttpListenerManager.cs : add host-to-http-listener mapping so that
they can be managed per host.
* ServiceMetadataExtension.cs : reflect DispatcherBuilder change.
svn path=/trunk/mcs/; revision=155974
* BindingContext.cs : require a TransportBindingElement when
building a channel listener.
* CustomBindingTest.cs : enable BuildChannelListener test for no-
transport case. Test CanBuildChannelListener too.
svn path=/trunk/mcs/; revision=155857
* 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
* MessageFault.cs : when created from XmlReader, it should not
deserialize fault details immediately. This class itself should
not do that. Strongly typed FaultContractInfo may want to use the
reader (GetReaderAtDetailContents()) for its own deserialization.
svn path=/trunk/mcs/; revision=154695
* HttpTransportBindingElement.cs, HttpsTransportBindingElement.cs:
implement HttpsTransportBindingElement.GetProperty<T>(). Extend the
properties type from HTTP.
* HttpsTransportBindingElementTest.cs :
added test for GetProperty<T>().
svn path=/trunk/mcs/; revision=154621
* FaultConverter.cs : use addressing version from the message.
* ServiceHostBaseTest.cs : enable RunDestinationUnreachableTest()
and add another case for different addressing version.
svn path=/trunk/mcs/; revision=154608
* MessageFault.cs : Write Subcode element correctly and fix wrong
Code/Value/Subcode element relationship. Give better error message.
svn path=/trunk/mcs/; revision=154279
* HttpListenerManager.cs : remove consumed HttpListenerContext from
the pending queue. Compare "wsdl" request in case insensitive
manner. Patch by Matt Dargavel.
svn path=/trunk/mcs/; revision=154120
* HttpRequestContext.cs : apply the patch by Matt Dargavel, which is
supposed to provide detailed 400 error message.
svn path=/trunk/mcs/; revision=154112
* ChannelListenerBase.cs, TransactionFlowBindingElement.cs: fix
GetProperty<T>() bug that fails to retrieve properties. (This may
be rewritten later if an ongoing change proposal is to take place.)
svn path=/trunk/mcs/; revision=154107