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