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