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