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