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