* ChannelServices.cs: Then creating a client sink chain by calling
CreateMessageSink, provide a null URL if there is channel data.
Needed because some third party channels check for a null URL before
looking into the channel data.
svn path=/trunk/mcs/; revision=68314
+2006-11-22 Lluis Sanchez Gual <lluis@novell.com>
+
+ * ChannelServices.cs: Then creating a client sink chain by calling
+ CreateMessageSink, provide a null URL if there is channel data.
+ Needed because some third party channels check for a null URL before
+ looking into the channel data.
+
2005-11-05 Robert Jordan <robertj@gmx.net>
* ISecurableChannel.cs: Added.
}
else {
foreach (object data in channelDataArray) {
- IMessageSink sink = sender.CreateMessageSink (url, data, out objectUri);
+ // Don't provide the url in this case, since some channels won't
+ // check the channelData parameter if the url is not null.
+ IMessageSink sink = sender.CreateMessageSink (null, data, out objectUri);
if (sink != null) return sink;
}
}