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