2008-09-30 Michael Hutchinson <mhutchinson@novell.com>
[mono.git] / mcs / class / System.Runtime.Remoting / System.Runtime.Remoting.Channels.Http / ChangeLog
1 2008-09-30  Michael Hutchinson  <mhutchinson@novell.com>
2
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.
9
10 2008-09-24  Michael Hutchinson  <mhutchinson@novell.com>
11
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.
18
19 2008-09-23  Michael Hutchinson  <mhutchinson@novell.com>
20
21         * HttpClientChannel.cs: Fix logic error from ==/!= typo. Stops 
22           channel from trying to handle IPC URLs, which was breaking the 
23           IPC tests.
24
25 2008-09-19  Michael Hutchinson  <mhutchinson@novell.com>
26
27         * HttpServerChannel.cs:
28         * HttpClientChannel.cs:
29         * HttpChannel.cs: Fixes from corcompare, and some cleanup.
30
31 2008-09-19  Jeffrey Stedfast  <fejj@novell.com>
32
33         * HttpChannel.cs: Throw ArgumentNullException if url is null.
34
35 2008-09-18  Michael Hutchinson  <mhutchinson@novell.com>
36
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.
43
44 2008-09-18  Michael Hutchinson  <mhutchinson@novell.com>
45
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.
50
51 2008-09-18  Michael Hutchinson  <mhutchinson@novell.com>
52
53         * HttpChannel.cs: Fix default channel name.
54
55 2008-09-18  Michael Hutchinson  <mhutchinson@novell.com>
56
57         * HttpClientTransportSink: Fix logic error that broke async client 
58         functionality. Fixes HttpAsyncCallTest tests.
59
60 2008-06-14  Sebastien Pouliot  <sebastien@ximian.com>
61
62         * HttpRemotingHandler.cs: Remove double assignment to bodyBuffer.
63         [Found using Gendarme]
64
65 2008-02-12  Roei Erez (roeie@mainsoft.com)
66
67         * HttpServerChannel.cs: Always initialize channel uri.
68
69 2007-10-30  Robert Jordan  <robertj@gmx.net>
70
71         * HttpHelper.cs: Support for the "https" scheme. Make scheme parser
72         case invariant. Fixes bug #81701.
73
74         * HttpServerChannel.cs (GetChannelUri): Take channel data into account.
75
76         * HttpServerChannel.cs (SetupChannel): Initialize channel data
77         with "null", because at this stage we don't necessary have a valid
78         channel URI.
79
80 2007-08-23  Robert Jordan  <robertj@gmx.net>
81
82         * HttpRemotingHandlerFactory.cs: configure Remoting because
83         System.Web doesn't anymore. Fixes #81831.
84
85 2006-12-18  Lluis Sanchez Gual  <lluis@novell.com>
86
87         * HttpServerChannel.cs: The remoting infrastructure does not call
88           StartListening() anymore, so it has to be called by the channel.
89
90 2006-03-05  Andrew Skiba <andrews@mainsoft.com>
91
92         * HttpClientChannel.cs, HttpServerChannel.cs: exceptions propagating
93         incompatible with dotnet. Patch by roeie@mainsoft.com
94
95 2005-11-06  Svetlana Zholkovsky  <svetlanaz@mainsoft.com>
96
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
105
106 2005-10-10  Lluis Sanchez Gual  <lluis@novell.com>
107
108         * HttpServer.cs: Removed all non-sense regular expressions for
109         parsing files. Makes the channel faster and fixes bug #75886.
110
111 2005-07-06  Lluis Sanchez Gual  <lluis@novell.com>
112
113         * HttpServer.cs: Close the connection after processing the request.
114         Based on a patch by Brion Vibber. Fixes bug #75467.
115
116 2005-05-18  Lluis Sanchez Gual  <lluis@novell.com>
117
118         * HttpServerChannel.cs: Catch exceptions thrown in the server thread.
119         In StopListening, wait for the server thread to stop before returning.
120
121 2005-01-25  Lluis Sanchez Gual  <lluis@novell.com>
122
123         * HttpServer.cs: Use a single stream for in an out stream, since they
124         where the same. Set IPAddress and ConnectionId transport headers.
125
126 2005-01-14  Lluis Sanchez Gual  <lluis@novell.com>
127
128         * HttpServerChannel.cs: Use the new RemotingThreadPool to manage threads.
129           Fixed some warnings.
130         * HttpServer.cs: Minor fix.
131
132 2004-12-17  Lluis Sanchez Gual <lluis@ximian.com>
133
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.
138
139 2004-10-22  Lluis Sanchez Gual <lluis@ximian.com>
140
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.
144
145 2004-09-27  Lluis Sanchez Gual <lluis@ximian.com>
146
147         * HttpClientChannel.cs: Throw an http exception if the response is a 500,
148           don't try to deserialize the exception.
149
150 2004-05-26  Lluis Sanchez Gual <lluis@ximian.com>
151
152         * HttpServerChannel.cs: Default port is 0.
153
154 2004-05-25  Lluis Sanchez Gual <lluis@ximian.com>
155
156         * HttpServerChannel.cs: Take unused port if the provided prot is 0.
157
158 2004-05-13  Lluis Sanchez Gual <lluis@ximian.com>
159
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.
165
166 2004-04-30  Lluis Sanchez Gual <lluis@ximian.com>
167
168         * HttpServer.cs: Removed dead code.
169
170 2004-02-27  Lluis Sanchez Gual  <lluis@ximian.com>
171
172         * HttpClientChannel.cs: Set the RequestUri transport header before sending 
173           the request.
174
175 2004-02-04  Lluis Sanchez Gual  <lluis@ximian.com>
176
177         * HttpRemotingHandlerFactory.cs: Loading of remoting configuration moved
178           to System.Web.Configuraiton.
179
180 2003-12-12  Lluis Sanchez Gual  <lluis@ximian.com>
181
182         * HttpServer.cs: Removed debug code.
183         
184 2003-12-10  Lluis Sanchez Gual  <lluis@ximian.com>
185
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.
190
191 2003-11-16  Lluis Sanchez Gual  <lluis@ximian.com>
192
193         * HttpHelper.cs: Removed usnused method GetMachineIp.
194         * HttpServerChannel.cs: Added support for priority, bindTo, useIpAddress and
195           machineName properties.
196
197 2003-11-13  Lluis Sanchez Gual <lluis@ximian.com>
198
199         * HttpChannel.cs: Create empty property dictionary in the default
200           constructor.
201
202 2003-11-13  Lluis Sanchez Gual <lluis@ximian.com>
203
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.
214
215 2003-11-12  Lluis Sanchez Gual <lluis@ximian.com>
216
217         * HttpServerChannel.cs: Removed StartListening call from constructor. It
218           is called by the remoting framework.
219         * HttpClientChannel.cs, HttpHelper.cs: Fixed some formatting.
220
221 2003-09-17  Lluis Sanchez Gual <lluis@ximian.com>
222
223         * HttpHelper.cs: Fixed bug #48468. Patch by Jean-Marc Andre.
224         * HttpClientChannel.cs HttpServer.cs HttpServerChannel.cs: Fixed some warnings.
225
226 2003-08-22  Lluis Sanchez Gual <lluis@ximian.com>
227
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.
248
249 2003-08-18  Lluis Sanchez Gual <lluis@ximian.com>
250
251         * HttpClientChannel.cs, HttpServerChannel.cs: Fixed bug #47703
252
253 2003-06-21  Lluis Sanchez Gual <lluis@ximian.com>
254
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.
259