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