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