Author: lluis
Date: 2005-05-31 16:05:51 -0400 (Tue, 31 May 2005)
New Revision: 45270
Modified:
trunk/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/ChangeLog
trunk/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerTransportSink.cs
Log:
2005-05-31 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* TcpServerTransportSink.cs: Remove the channel uri from the
received uri.
Modified:
trunk/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/ChangeLog
===================================================================
---
trunk/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/ChangeLog
2005-05-31 20:04:47 UTC (rev 45269)
+++
trunk/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/ChangeLog
2005-05-31 20:05:51 UTC (rev 45270)
@@ -1,3 +1,8 @@
+2005-05-31 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * TcpServerTransportSink.cs: Remove the channel uri from the
+ received uri.
+
2005-05-31 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* TcpServerChannel.cs: Use IP address in object uris by default.
Modified:
trunk/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerTransportSink.cs
===================================================================
---
trunk/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerTransportSink.cs
2005-05-31 20:04:47 UTC (rev 45269)
+++
trunk/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerTransportSink.cs
2005-05-31 20:05:51 UTC (rev 45270)
@@ -95,8 +95,14 @@
requestStream = TcpMessageIO.ReceiveMessageStream
(connection.Stream, out requestHeaders, connection.Buffer);
requestHeaders [CommonTransportKeys.IPAddress] =
connection.ClientAddress;
- requestHeaders [CommonTransportKeys.ConnectionId] =
connection.Id;
-
+ requestHeaders [CommonTransportKeys.ConnectionId] =
connection.Id;
+
+ string uri = (string) requestHeaders
[CommonTransportKeys.RequestUri];
+ TcpChannel.ParseChannelUrl (uri, out uri);
+
+ if (uri != null)
+ requestHeaders [CommonTransportKeys.RequestUri]
= uri;
+
// Pushes the connection object together with the sink.
This information
// will be used for sending the response in an async
call.
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches