* TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This
fixes standalone tcp-transport/sample[svc|cli]5.exe test in olive
(but not TcpTransportBindingElementTest.SimpleDuplexStreamed.)
* TcpTransportBindingElementTest.cs : add connection tests (imported
from standalone olive tests), one is disabled for breakage.
svn path=/trunk/mcs/; revision=158924
* TcpDuplexSessionChannel.cs, TcpReplyChannel.cs : do not set RelatesTo
here. If the contract is not one-way (IsOneWay = false) and there is
a callback, the callback message sent to the client should *not* be
assigned RelatesTo header here. Just do it in the request-reply
context. Do it in OperationInvokerHandler.
* OperationInvokerHandler.cs : assign RelatesTo header item here.
svn path=/trunk/mcs/; revision=157950
* HttpChannelListener.cs : do not accept more than one channel at a
time. Remove extra fields. Add CancelAsync() implementation.
svn path=/trunk/mcs/; revision=157659
* HttpListenerManager.cs : add a workaround for Func<>.BeginInvoke()
problem that blocked ASP.NET channels working.
svn path=/trunk/mcs/; revision=157658
empty message and return that.
Note: the ws-mc protocol defines that the service returns an
200 response with an empty body on first connection, this
adds support for that (fixes part of #599667)
svn path=/trunk/mcs/; revision=157525
* DuplexChannelBase.cs
ReplyChannelBase.cs
TcpChannelListener.cs
ChannelListenerBase_1.cs
PeerChannelListener.cs
HttpChannelListener.cs
NamedPipeChannelListener.cs:
do the same for channel listener,reply channels and
duplex channels.
svn path=/trunk/mcs/; revision=157368
* ChannelFactoryBase.cs, RequestChannelBase.cs : support
MessageVersion in GetProperty<T>() for many transport channels.
svn path=/trunk/mcs/; revision=157367
* HttpChannelFactory.cs
TcpChannelFactory.cs
ChannelFactoryBase.cs
NamedPipeChannelFactory.cs
PeerChannelFactory.cs
RequestChannelBase.cs : commonize MessageEncoder.
(Commented out GetPrpoerty<T>() for MessageVersion as it is
in doubt yet.)
svn path=/trunk/mcs/; revision=157366
* MessageImpl.cs : do not use maxBufferSize for initialSize argument
for MessageHeaders. Fix OutOfMemoryException for certain usage.
svn path=/trunk/mcs/; revision=157363
* 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