1 2008-09-17 Jeffrey Stedfast <fejj@novell.com>
3 * TcpChannel.cs (ParseTcpURL): If given "tcp://", don't set host
4 to "", leave it as null.
6 * TcpClientChannel.cs (TcpClientChannel): Use the default
7 SinkProviders if the sinkProvider argument is null.
9 * TcpChannel.cs (ParseTcpURL): TcpClientTransportSink needs the
10 host component, so extract that info into its own string as well.
12 2008-09-12 Jeffrey Stedfast <fejj@novell.com>
16 * TcpClientTransportSink.cs: Updated for change to
17 TcpChannel.ParseTcpURL(). We now need to do our own integer
18 conversion/validation of the port.
20 * TcpChannel.cs (ParseTcpURL): We need to match the
21 protocol ("tcp") case-insensitively. The objectURI is supposed to
22 include the leading '/' character. Also, we need to ignore invalid
23 port designators since Microsoft's .NET implementation of
24 TcpChannel.Parse() doesn't seem to care that they are valid.
26 2008-08-09 Gert Driesen <drieseng@users.sourceforge.net>
28 * TcpChannel.cs: Fixed argument names to match MS.
29 * TcpServerChannel.cs: Fixed argument names to match MS.
31 2008-06-18 Robert Jordan <robertj@gmx.net>
33 * TcpMessageIO.cs: Handle zero length streams. Fixes #398783.
35 2008-01-25 Zoltan Varga <vargaz@gmail.com>
37 * TcpChannel.cs (Init): Handle properties == null.
39 * TcpClientChannel.cs (.ctor): Ditto. Fixes #355905.
41 2006-01-09 Robert Jordan <robertj@gmx.net>
43 * TcpServerChannel.cs (ProcessMessages): Flush the stream only when
44 necessary (TcpServerTransportSink.InternalProcessMessage does it anyway),
45 otherwise pending OneWay & async messages are lost.
46 * TcpMessageIO.cs (SendMessageStream): Mark OneWay messages as such.
47 Fixes MS.NET interoperability.
48 * TcpClientTransportSink.cs (AsyncProcessRequest):
49 Use the new TcpMessageIO.SendMessageStream overload to mark OneWay
50 requests. Fixes bug #80406.
52 2007-01-08 Lluis Sanchez Gual <lluis@novell.com>
54 * TcpChannel.cs, TcpServerChannel.cs: Moved StartListening call to
55 the constructor of TcpServerChannel.
57 2006-12-18 Lluis Sanchez Gual <lluis@novell.com>
59 * TcpChannel.cs: The remoting infrastructure does not call
60 StartListening() anymore, so it has to be called by the channel.
62 2006-09-15 Lluis Sanchez Gual <lluis@novell.com>
64 * TcpServerTransportSink.cs, TcpServerChannel.cs:
65 When sending an async call response, don't use the original request
66 stream because it may have been used by another call.
68 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
70 * TcpClientChannel.cs: Marked CreateMessageSink virtual.
71 * TcpServerChannel.cs: Marked GetUrlsForUri virtual.
73 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
75 * TcpClientChannel.cs: Set eol-style to native.
76 * TcpChannel.cs: Fixed line endings. Set eol-style to native.
77 * TcpServerTransportSink.cs: Fixed line endings. Set eol-style to
79 * TcpConnectionPool.cs: Fixed line endings. Set eol-style to CRLF.
80 * TcpClientTransportSinkProvider.cs: Fixed line endings. Set eol-style
82 * TcpMessageIO.cs: Set eol-style to native.
83 * TcpServerChannel.cs: Fixed line endings. Set eol-style to native.
84 * TcpClientTransportSink.cs: Fixed line endings. Set eol-style to
87 2005-11-08 Lluis Sanchez Gual <lluis@novell.com>
89 * TcpServerChannel.cs: Fix null ref exception.
91 2005-11-06 Svetlana Zholkovsky <svetlanaz@mainsoft.com>
93 * TcpServerChannel.cs, TcpConnectionPool.cs: only TARGET_JVM changes
95 2005-07-25 Lluis Sanchez Gual <lluis@novell.com>
97 * TcpChannel.cs: Don't create a server channel when the
98 default constructor is used. Fixes bug #75626.
100 2005-05-31 Lluis Sanchez Gual <lluis@novell.com>
102 * TcpServerTransportSink.cs: Remove the channel uri from the
105 2005-05-31 Lluis Sanchez Gual <lluis@novell.com>
107 * TcpServerChannel.cs: Use IP address in object uris by default.
108 Fixes bug #54234. Removed unused field.
109 * TcpClientTransportSink.cs: Fix warning.
111 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
113 * TcpServerChannel.cs: In StopListening, wait for the server thread
114 to stop before returning. This fixes bug #74962.
116 2005-01-25 Lluis Sanchez Gual <lluis@novell.com>
118 * TcpServerTransportSink.cs: Set IPAddress and ConnectionId
119 transport headers. This fixes bug #71423.
120 * TcpServerChannel.cs: Use Socket instead of TcpClient, so we can
121 easily get the IP address of the client. Added properties in
122 ClientConnection to get the IP address and the connection id.
124 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
126 * TcpMessageIO.cs: Added a buffer parameter to ReceiveMessageStatus,
127 to avoid creating unneded buffers.
128 * TcpServerChannel.cs, TcpClientTransportSink.cs: Use new buffer
129 parameter in ReceiveMessageStatus.
131 2005-01-14 Lluis Sanchez Gual <lluis@novell.com>
133 * TcpConnectionPool.cs: Don't limit client connections.
134 This fixes bug #70700. Create connections from outside the pool lock.
135 * TcpMessageIO.cs: Throw real exceptions when errors occur.
136 * TcpServerChannel.cs: Use the new RemotingThreadPool to manage threads.
137 This also fixes bug #70700.
139 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
141 * TcpMessageIO.cs: Removed some more WriteByte calls.
142 * TcpClientTransportSink.cs: Flush the net stream after writing
145 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
147 * TcpChannel.cs: Don't use regular expressions to parse the url, it's
149 * TcpMessageIO.cs: Read byte chunks using the new StreamRead method,
150 which won't block if the connection is closed.
151 * TcpServerChannel.cs: Flush the stream after writing the response.
152 Wrap the close call in a try/catch (some bytes can be left in the
153 buffered stream if a connection is suddently closed, and it will fail
154 when trying to flush them).
156 2004-12-09 Lluis Sanchez Gual <lluis@novell.com>
158 * TcpConnectionPool.cs: Access the socket stream through a
160 * TcpMessageIO.cs: Avoid ReadByte().
161 * TcpServerChannel.cs: Access the socket stream through a
162 BufferedStream. Abort the connection if an unknown message is received.
163 All this fixes performance bug #70337.
165 2004-10-22 Lluis Sanchez Gual <lluis@ximian.com>
167 * TcpClientChannel.cs: In CreateMessageSink, process the remote channel
168 data if the provided url does not have the expected format. This fixes
169 a regression from the fix for bug #66768 and fixes #68669.
171 2004-07-15 Lluis Sanchez Gual <lluis@novell.com>
173 * TcpServerChannel.cs: Set channel name from the provided properties.
174 This fixes bug #61592.
176 2004-05-13 Lluis Sanchez Gual <lluis@ximian.com>
178 * TcpChannel.cs: Made Init private.
179 * TcpClientTransportSink.cs, TcpClientTransportSinkProvider.cs,
180 TcpServerTransportSink.cs: Made internal.
182 2004-04-16 Lluis Sanchez Gual <lluis@ximian.com>
184 * TcpClientChannel.cs: Initialize the sink provider in the default
187 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
189 * TcpServerChannel.cs: In the ProcessMessages() loop, moved the closing of
190 the stream to the finally block, so it is called if the thread is aborted.
192 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
194 * TcpClientTransportSink.cs: Set the RequestUri transport header before
197 2004-02-23 Lluis Sanchez Gual <lluis@ximian.com>
199 * TcpClientTransportSink.cs: Release the connection after sending an
200 OneWay call. This fixes bug #54671.
202 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
204 * TcpServerChannel.cs: If useIpAddress and bindAddress are both specified,
205 set bindAddress as the host address for the client.
207 2003-12-19 Lluis Sanchez Gual <lluis@ximian.com>
209 * TcpServerChannel.cs: Fixes in channel initialization.
211 2003-12-12 Lluis Sanchez Gual <lluis@ximian.com>
213 * TcpChannel.cs: Added null check.
215 2003-11-16 Lluis Sanchez Gual <lluis@ximian.com>
217 * TcpClientChannel.cs: Added support for name and priority properties.
218 * TcpServerChannel.cs: Added support for priority, bindTo, useIpAddress,
219 machineName and supressChannelData properties.
220 * TcpChannel.cs, TcpServerTransportSink.cs: Formatting change.
222 2003-11-13 Lluis Sanchez Gual <lluis@ximian.com>
224 * TcpChannel.cs: take into account name and priority properties.
226 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
228 * TcpServerChannel.cs: Remove listener initialization and StartListening
229 call from constructor. It is called now by the remoting framework.
230 * TcpConnectionPool.cs: Removed fixme.
232 Older log entries can be found in the System.Runtime.Remoting ChangeLog.