2008-09-17 Jeffrey Stedfast <fejj@novell.com>
[mono.git] / mcs / class / System.Runtime.Remoting / System.Runtime.Remoting.Channels.Tcp / ChangeLog
1 2008-09-17  Jeffrey Stedfast  <fejj@novell.com>
2
3         * TcpChannel.cs (ParseTcpURL): If given "tcp://", don't set host
4         to "", leave it as null.
5
6         * TcpClientChannel.cs (TcpClientChannel): Use the default
7         SinkProviders if the sinkProvider argument is null.
8
9         * TcpChannel.cs (ParseTcpURL): TcpClientTransportSink needs the
10         host component, so extract that info into its own string as well.
11
12 2008-09-12  Jeffrey Stedfast  <fejj@novell.com>
13
14         Fix for bug #320298
15
16         * TcpClientTransportSink.cs: Updated for change to
17         TcpChannel.ParseTcpURL(). We now need to do our own integer
18         conversion/validation of the port.
19
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.
25
26 2008-08-09  Gert Driesen  <drieseng@users.sourceforge.net>
27
28         * TcpChannel.cs: Fixed argument names to match MS.
29         * TcpServerChannel.cs: Fixed argument names to match MS.
30
31 2008-06-18  Robert Jordan  <robertj@gmx.net>
32
33         * TcpMessageIO.cs: Handle zero length streams. Fixes #398783.
34
35 2008-01-25  Zoltan Varga  <vargaz@gmail.com>
36
37         * TcpChannel.cs (Init): Handle properties == null.
38
39         * TcpClientChannel.cs (.ctor): Ditto. Fixes #355905.
40         
41 2006-01-09  Robert Jordan  <robertj@gmx.net>
42
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.
51
52 2007-01-08  Lluis Sanchez Gual  <lluis@novell.com>
53
54         * TcpChannel.cs, TcpServerChannel.cs: Moved StartListening call to
55           the constructor of TcpServerChannel.
56
57 2006-12-18  Lluis Sanchez Gual  <lluis@novell.com>
58
59         * TcpChannel.cs: The remoting infrastructure does not call
60           StartListening() anymore, so it has to be called by the channel.
61
62 2006-09-15  Lluis Sanchez Gual  <lluis@novell.com> 
63
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.
67
68 2006-05-31  Gert Driesen  <drieseng@users.sourceforge.net>
69
70         * TcpClientChannel.cs: Marked CreateMessageSink virtual.
71         * TcpServerChannel.cs: Marked GetUrlsForUri virtual.
72
73 2006-05-31  Gert Driesen  <drieseng@users.sourceforge.net>
74
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
78         native.
79         * TcpConnectionPool.cs: Fixed line endings. Set eol-style to CRLF.
80         * TcpClientTransportSinkProvider.cs: Fixed line endings. Set eol-style
81         to native.
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
85         native.
86
87 2005-11-08  Lluis Sanchez Gual  <lluis@novell.com> 
88
89         * TcpServerChannel.cs: Fix null ref exception.
90
91 2005-11-06  Svetlana Zholkovsky  <svetlanaz@mainsoft.com>
92
93         * TcpServerChannel.cs, TcpConnectionPool.cs: only TARGET_JVM changes
94
95 2005-07-25  Lluis Sanchez Gual  <lluis@novell.com> 
96
97         * TcpChannel.cs: Don't create a server channel when the
98         default constructor is used. Fixes bug #75626.
99
100 2005-05-31  Lluis Sanchez Gual  <lluis@novell.com> 
101
102         * TcpServerTransportSink.cs: Remove the channel uri from the
103         received uri.
104         
105 2005-05-31  Lluis Sanchez Gual  <lluis@novell.com>
106
107         * TcpServerChannel.cs: Use IP address in object uris by default.
108         Fixes bug #54234. Removed unused field.
109         * TcpClientTransportSink.cs: Fix warning.
110
111 2005-05-18  Lluis Sanchez Gual  <lluis@novell.com>
112
113         * TcpServerChannel.cs: In StopListening, wait for the server thread
114         to stop before returning. This fixes bug #74962.
115
116 2005-01-25  Lluis Sanchez Gual  <lluis@novell.com>
117
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.
123
124 2005-01-21  Lluis Sanchez Gual  <lluis@novell.com>
125
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.
130
131 2005-01-14  Lluis Sanchez Gual  <lluis@novell.com>
132
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.
138
139 2004-12-17  Lluis Sanchez Gual <lluis@novell.com>
140
141         * TcpMessageIO.cs: Removed some more WriteByte calls.
142         * TcpClientTransportSink.cs: Flush the net stream after writing
143         a message.
144
145 2004-12-10  Lluis Sanchez Gual <lluis@novell.com>
146
147         * TcpChannel.cs: Don't use regular expressions to parse the url, it's
148         too slow.
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).
155
156 2004-12-09  Lluis Sanchez Gual <lluis@novell.com>
157
158         * TcpConnectionPool.cs: Access the socket stream through a
159         BufferedStream.
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.
164
165 2004-10-22  Lluis Sanchez Gual <lluis@ximian.com>
166
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.
170
171 2004-07-15  Lluis Sanchez Gual <lluis@novell.com>
172
173         * TcpServerChannel.cs: Set channel name from the provided properties.
174           This fixes bug #61592.
175
176 2004-05-13  Lluis Sanchez Gual <lluis@ximian.com>
177
178         * TcpChannel.cs: Made Init private.
179         * TcpClientTransportSink.cs, TcpClientTransportSinkProvider.cs,
180           TcpServerTransportSink.cs: Made internal.
181
182 2004-04-16  Lluis Sanchez Gual  <lluis@ximian.com>
183
184         * TcpClientChannel.cs: Initialize the sink provider in the default
185           constructor.
186
187 2004-03-04  Lluis Sanchez Gual  <lluis@ximian.com>
188
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.
191
192 2004-02-27  Lluis Sanchez Gual  <lluis@ximian.com>
193
194         * TcpClientTransportSink.cs: Set the RequestUri transport header before 
195           sending the request.
196
197 2004-02-23  Lluis Sanchez Gual <lluis@ximian.com>
198
199         * TcpClientTransportSink.cs: Release the connection after sending an
200           OneWay call. This fixes bug #54671.
201
202 2003-12-23  Lluis Sanchez Gual <lluis@ximian.com>
203
204         * TcpServerChannel.cs: If useIpAddress and bindAddress are both specified,
205           set bindAddress as the host address for the client.
206
207 2003-12-19  Lluis Sanchez Gual <lluis@ximian.com>
208
209         * TcpServerChannel.cs: Fixes in channel initialization.
210
211 2003-12-12  Lluis Sanchez Gual  <lluis@ximian.com>
212
213         * TcpChannel.cs: Added null check.
214
215 2003-11-16  Lluis Sanchez Gual  <lluis@ximian.com>
216
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.
221                   
222 2003-11-13  Lluis Sanchez Gual <lluis@ximian.com>
223
224         * TcpChannel.cs: take into account name and priority properties.
225         
226 2003-11-12  Lluis Sanchez Gual <lluis@ximian.com>
227
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.
231         
232         Older log entries can be found in the System.Runtime.Remoting ChangeLog.
233