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