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