[Mono-bugs] [Bug 71423][Nor] New - Remoting: Invalid IPAddress and ConnectionId.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 18 Jan 2005 16:02:25 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastien.robitaille@croesus.com.

http://bugzilla.ximian.com/show_bug.cgi?id=71423

--- shadow/71423	2005-01-18 16:02:25.000000000 -0500
+++ shadow/71423.tmp.7162	2005-01-18 16:02:25.000000000 -0500
@@ -0,0 +1,64 @@
+Bug#: 71423
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastien.robitaille@croesus.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Remoting: Invalid IPAddress and ConnectionId.
+
+Description of Problem:
+
+When using Remoting, it is not possible to retreive the IP address and 
+the unique connection ID from the Request Headers (using a Custom Channel 
+Sink).
+
+i.e. The parameter "requestHeaders" passed to the ProcessMessage method 
+doesn't contain the expected values for:
+
+CommonTransportKeys.ConnectionId
+CommonTransportKeys.IPAddress
+
+The values are always NULL.
+
+Steps to reproduce the problem:
+
+[1]Use the following commands to compile the test case:
+
+mcs -out:ServerInterface.dll -target:library IServerInterface.cs
+
+mcs -r:ServerInterface.dll -r:System.Runtime.Remoting.dll -
+out:Server.exe -target:exe Server.cs
+
+mcs -r:ServerInterface.dll -r:System.Runtime.Remoting.dll -
+out:Client.exe -target:exe Client.cs
+
+
+[2] run Server.exe and Client.exe (in this order, with ou without 
+parameters) and watch for the client's output.
+
+
+Actual Results:
+The test case throws an exception because both IPAddress and ConnectionId 
+are null.
+
+Expected Results:
+No exception. Client quits normally. Server prints "Request executed.".
+
+How often does this happen? 
+Always.
+
+Additional Information:
+
+I did a "grep" in the latest mono sources for 
+"CommonTransportKeys.ConnectionId" and "CommonTransportKeys.IPAddress"
+and found nothing. I believe that these values are never set.