2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
[mono.git] / mcs / class / System.Runtime.Remoting / System.Runtime.Remoting.Channels.Http / ChangeLog
1 2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
2
3         * HttpClientTransportSink.cs: ensure the response stream is disposed.
4         * HttpServerTransportSink.cs: use the public API of HttpConnection.
5         * RemotingHttpListener.cs: use the public API of HttpConnection
6         instead of hooking into an internal method, possibly cause exception
7         and leave the Connection in an unstable state.
8
9 2009-02-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
10
11         * HttpClientTransportSink.cs: if we get an WebException that does not
12         have a response, dispatch it to the sink.
13
14 2008-11-10  Michael Hutchinson  <mhutchinson@novell.com>
15
16         * HttpServerTransportSink.cs: Seek to beginning of server response 
17           stream. Fixes Bug 436995 - Xml-Rpc.net does not work since 
18           Mono 1.9.x.
19
20 2008-09-30  Michael Hutchinson  <mhutchinson@novell.com>
21
22         * HttpServerChannel.cs: make sure the channel data object is set 
23           when the port is auto-assigned.
24         * HttpClientTransportSink.cs: Use the __RequestUri header for the 
25           request's URI. Includes workaround for bad __RequestUri values.
26         
27         Fixes Bug 378713 - [regression] Remoting - HttpChannel.
28
29 2008-09-24  Michael Hutchinson  <mhutchinson@novell.com>
30
31         * HttpServerTransportSink.cs: Disable chunking on the server, as 
32           for some reason it was breaking the tests. This reduces efficiency 
33           but right now is unavoidable.
34           
35         * HttpServerChannel.cs: Implement AddHookChannelUri. Thanks to 
36           Lluis for the patch.
37
38 2008-09-23  Michael Hutchinson  <mhutchinson@novell.com>
39
40         * HttpClientChannel.cs: Fix logic error from ==/!= typo. Stops 
41           channel from trying to handle IPC URLs, which was breaking the 
42           IPC tests.
43
44 2008-09-19  Michael Hutchinson  <mhutchinson@novell.com>
45
46         * HttpServerChannel.cs:
47         * HttpClientChannel.cs:
48         * HttpChannel.cs: Fixes from corcompare, and some cleanup.
49
50 2008-09-19  Jeffrey Stedfast  <fejj@novell.com>
51
52         * HttpChannel.cs: Throw ArgumentNullException if url is null.
53
54 2008-09-18  Michael Hutchinson  <mhutchinson@novell.com>
55
56         * HttpServerTransportSink.cs:
57         * HttpServerChannel.cs: Cleanup.
58         * HttpClientTransportSink.cs: Use username/password/domain parameters, 
59           fix some spelling, add FIXME comment regarding stream copying.
60         * HttpClientChannel.cs: 
61         * HttpChannel.cs: Fix 1.1 API slip.
62
63 2008-09-18  Michael Hutchinson  <mhutchinson@novell.com>
64
65         * HttpServerChannel.cs: Don't try to resolve IPAddress.Any, so that 
66         by default we bind to localhost/lo as well as the host address.
67         Also remove dead code for binding to multiple IP addresses; I don't 
68         think we need to handle that.
69
70 2008-09-18  Michael Hutchinson  <mhutchinson@novell.com>
71
72         * HttpChannel.cs: Fix default channel name.
73
74 2008-09-18  Michael Hutchinson  <mhutchinson@novell.com>
75
76         * HttpClientTransportSink: Fix logic error that broke async client 
77         functionality. Fixes HttpAsyncCallTest tests.
78
79 2008-06-14  Sebastien Pouliot  <sebastien@ximian.com>
80
81         * HttpRemotingHandler.cs: Remove double assignment to bodyBuffer.
82         [Found using Gendarme]
83
84 2008-02-12  Roei Erez (roeie@mainsoft.com)
85
86         * HttpServerChannel.cs: Always initialize channel uri.
87
88 2007-10-30  Robert Jordan  <robertj@gmx.net>
89
90         * HttpHelper.cs: Support for the "https" scheme. Make scheme parser
91         case invariant. Fixes bug #81701.
92
93         * HttpServerChannel.cs (GetChannelUri): Take channel data into account.
94
95         * HttpServerChannel.cs (SetupChannel): Initialize channel data
96         with "null", because at this stage we don't necessary have a valid
97         channel URI.
98
99 2007-08-23  Robert Jordan  <robertj@gmx.net>
100
101         * HttpRemotingHandlerFactory.cs: configure Remoting because
102         System.Web doesn't anymore. Fixes #81831.
103
104 2006-12-18  Lluis Sanchez Gual  <lluis@novell.com>
105
106         * HttpServerChannel.cs: The remoting infrastructure does not call
107           StartListening() anymore, so it has to be called by the channel.
108
109 2006-03-05  Andrew Skiba <andrews@mainsoft.com>
110
111         * HttpClientChannel.cs, HttpServerChannel.cs: exceptions propagating
112         incompatible with dotnet. Patch by roeie@mainsoft.com
113
114 2005-11-06  Svetlana Zholkovsky  <svetlanaz@mainsoft.com>
115
116     * Add HttpHandlerFactory.jvm.cs
117         * HttpHandlerFactory.cs: Create and register HttpChannel in case it 
118         was not registered before.
119         * HttpHandler.cs: Send response headers.
120         * HttpServerChannel.cs:
121           - Change default port to -1.
122           - Don't start a listener if the port == -1
123           - Send response to the client also in case of DispatchRequest fails
124
125 2005-10-10  Lluis Sanchez Gual  <lluis@novell.com>
126
127         * HttpServer.cs: Removed all non-sense regular expressions for
128         parsing files. Makes the channel faster and fixes bug #75886.
129
130 2005-07-06  Lluis Sanchez Gual  <lluis@novell.com>
131
132         * HttpServer.cs: Close the connection after processing the request.
133         Based on a patch by Brion Vibber. Fixes bug #75467.
134
135 2005-05-18  Lluis Sanchez Gual  <lluis@novell.com>
136
137         * HttpServerChannel.cs: Catch exceptions thrown in the server thread.
138         In StopListening, wait for the server thread to stop before returning.
139
140 2005-01-25  Lluis Sanchez Gual  <lluis@novell.com>
141
142         * HttpServer.cs: Use a single stream for in an out stream, since they
143         where the same. Set IPAddress and ConnectionId transport headers.
144
145 2005-01-14  Lluis Sanchez Gual  <lluis@novell.com>
146
147         * HttpServerChannel.cs: Use the new RemotingThreadPool to manage threads.
148           Fixed some warnings.
149         * HttpServer.cs: Minor fix.
150
151 2004-12-17  Lluis Sanchez Gual <lluis@ximian.com>
152
153         * HttpHelper.cs: Removed unused method. Optimized CopyStream method.
154         * HttpServerChannel.cs: SendResponse does not return a bool any
155           more, it throws an exception when it fails.
156         * HttpServer.cs: Improved handling of errors.
157
158 2004-10-22  Lluis Sanchez Gual <lluis@ximian.com>
159
160         * HttpClientChannel.cs: In CreateMessageSink, process the remote channel
161           data if the provided url does not have the expected format. This fixes
162           a regression from the fix for bug #66768 and fixes #68669.
163
164 2004-09-27  Lluis Sanchez Gual <lluis@ximian.com>
165
166         * HttpClientChannel.cs: Throw an http exception if the response is a 500,
167           don't try to deserialize the exception.
168
169 2004-05-26  Lluis Sanchez Gual <lluis@ximian.com>
170
171         * HttpServerChannel.cs: Default port is 0.
172
173 2004-05-25  Lluis Sanchez Gual <lluis@ximian.com>
174
175         * HttpServerChannel.cs: Take unused port if the provided prot is 0.
176
177 2004-05-13  Lluis Sanchez Gual <lluis@ximian.com>
178
179         * HttpChannel.cs, HttpClientChannel.cs: Added missing IDictionary 
180         properties.
181         * HttpRemotingHandler.cs: Added missing constructor.
182         * HttpRemotingHandlerFactory.cs: Made ConfigureHttpChannel private.
183         * HttpServerChannel.cs: Fixed IDictionary properties.
184
185 2004-04-30  Lluis Sanchez Gual <lluis@ximian.com>
186
187         * HttpServer.cs: Removed dead code.
188
189 2004-02-27  Lluis Sanchez Gual  <lluis@ximian.com>
190
191         * HttpClientChannel.cs: Set the RequestUri transport header before sending 
192           the request.
193
194 2004-02-04  Lluis Sanchez Gual  <lluis@ximian.com>
195
196         * HttpRemotingHandlerFactory.cs: Loading of remoting configuration moved
197           to System.Web.Configuraiton.
198
199 2003-12-12  Lluis Sanchez Gual  <lluis@ximian.com>
200
201         * HttpServer.cs: Removed debug code.
202         
203 2003-12-10  Lluis Sanchez Gual  <lluis@ximian.com>
204
205         * HttpServer.cs: Allow the use of GET method (SdlServerSink supports it).
206         Added some text constans for transport keys.
207         * HttpServerChannel.cs: Add SdlChannelSinkProvider to the default 
208         sink provider chain. Removed unused ErrorMessage class.
209
210 2003-11-16  Lluis Sanchez Gual  <lluis@ximian.com>
211
212         * HttpHelper.cs: Removed usnused method GetMachineIp.
213         * HttpServerChannel.cs: Added support for priority, bindTo, useIpAddress and
214           machineName properties.
215
216 2003-11-13  Lluis Sanchez Gual <lluis@ximian.com>
217
218         * HttpChannel.cs: Create empty property dictionary in the default
219           constructor.
220
221 2003-11-13  Lluis Sanchez Gual <lluis@ximian.com>
222
223         * HttpChannel.cs: Moved initialization code in SetupChannel to the
224           respective client and server channels. Added implementatoin of the
225           interface IChannelReceiverHook.
226         * HttpRemotingHandler.cs: Implemented.
227         * HttpRemotingHandlerFactory.cs: Implemented.
228         * HttpServer.cs: In general, use Stream instances instead of Socket. It is
229           more reusable in this way. Also improved formatting.
230         * HttpServerChannel.cs: Implemented support for IChannelReceiverHook.
231           Added new method DispatchRequest in HttpServerTransportSink that can
232           be reused by HttpRemotingHandler.
233
234 2003-11-12  Lluis Sanchez Gual <lluis@ximian.com>
235
236         * HttpServerChannel.cs: Removed StartListening call from constructor. It
237           is called by the remoting framework.
238         * HttpClientChannel.cs, HttpHelper.cs: Fixed some formatting.
239
240 2003-09-17  Lluis Sanchez Gual <lluis@ximian.com>
241
242         * HttpHelper.cs: Fixed bug #48468. Patch by Jean-Marc Andre.
243         * HttpClientChannel.cs HttpServer.cs HttpServerChannel.cs: Fixed some warnings.
244
245 2003-08-22  Lluis Sanchez Gual <lluis@ximian.com>
246
247         * HttpClientChannel.cs: Changed text for user-agent header (removed references
248           to MS.NET).
249           Removed try/catch from AsyncProcessRequest. If there is an exception it must
250           flow to the caller.
251           in AsyncRequestHandler, improved management of exceptions. HttpWebRequest
252           throws an exception if the result code is 400, 500. Is is not a communication
253           error, but an application or server error. The content of the body must be
254           deserialized like in normal responses.
255           In CreateWebRequest, if the stream being sent is a MemoryStream, use a more
256           efficient way of writing the content.
257           In SendAndRecieve, same as in AsyncRequestHandler. Also moved some code to a
258           new method named ReceiveResponse, so it can be reused from AsyncRequestHandler.
259         * HttpHelper.cs: Removed some debugging code that is not needed.
260         * HttpServer.cs: Improved formatting of some code.
261           In CheckRequest method, send a 100-continue response if the request has
262           the header: expect:100-continue.
263           Method SendResponse: the remoting formatter may include the result code and
264           reason phrase to use in the transport headers. Used them if provided.
265         * HttpServerChannel.cs: Use ThreadPool to create the thread that will answer
266           a request.
267
268 2003-08-18  Lluis Sanchez Gual <lluis@ximian.com>
269
270         * HttpClientChannel.cs, HttpServerChannel.cs: Fixed bug #47703
271
272 2003-06-21  Lluis Sanchez Gual <lluis@ximian.com>
273
274         * HttpChannel.cs, HttpClientChannel.cs, HttpHelper.cs, HttpServer.cs,
275           HttpServerChannel.cs, HttpThread.cs: added new implementation of the HttpChannel
276           by Ahmad Tantawy, Ahmad Kadry and Hussein Mehanna.
277         * unix.args: added HttpHelper.cs,HttpServer.cs,HttpThread.cs.
278