1 2009-09-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
3 * HttpClientTransportSink.cs: ensure the response stream is disposed.
4 * HttpServerTransportSink.cs: use the public API of HttpConnection.
5 * RemotingHttpListener.cs: use the public API of HttpConnection
6 instead of hooking into an internal method, possibly cause exception
7 and leave the Connection in an unstable state.
9 2009-02-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
11 * HttpClientTransportSink.cs: if we get an WebException that does not
12 have a response, dispatch it to the sink.
14 2008-11-10 Michael Hutchinson <mhutchinson@novell.com>
16 * HttpServerTransportSink.cs: Seek to beginning of server response
17 stream. Fixes Bug 436995 - Xml-Rpc.net does not work since
20 2008-09-30 Michael Hutchinson <mhutchinson@novell.com>
22 * HttpServerChannel.cs: make sure the channel data object is set
23 when the port is auto-assigned.
24 * HttpClientTransportSink.cs: Use the __RequestUri header for the
25 request's URI. Includes workaround for bad __RequestUri values.
27 Fixes Bug 378713 - [regression] Remoting - HttpChannel.
29 2008-09-24 Michael Hutchinson <mhutchinson@novell.com>
31 * HttpServerTransportSink.cs: Disable chunking on the server, as
32 for some reason it was breaking the tests. This reduces efficiency
33 but right now is unavoidable.
35 * HttpServerChannel.cs: Implement AddHookChannelUri. Thanks to
38 2008-09-23 Michael Hutchinson <mhutchinson@novell.com>
40 * HttpClientChannel.cs: Fix logic error from ==/!= typo. Stops
41 channel from trying to handle IPC URLs, which was breaking the
44 2008-09-19 Michael Hutchinson <mhutchinson@novell.com>
46 * HttpServerChannel.cs:
47 * HttpClientChannel.cs:
48 * HttpChannel.cs: Fixes from corcompare, and some cleanup.
50 2008-09-19 Jeffrey Stedfast <fejj@novell.com>
52 * HttpChannel.cs: Throw ArgumentNullException if url is null.
54 2008-09-18 Michael Hutchinson <mhutchinson@novell.com>
56 * HttpServerTransportSink.cs:
57 * HttpServerChannel.cs: Cleanup.
58 * HttpClientTransportSink.cs: Use username/password/domain parameters,
59 fix some spelling, add FIXME comment regarding stream copying.
60 * HttpClientChannel.cs:
61 * HttpChannel.cs: Fix 1.1 API slip.
63 2008-09-18 Michael Hutchinson <mhutchinson@novell.com>
65 * HttpServerChannel.cs: Don't try to resolve IPAddress.Any, so that
66 by default we bind to localhost/lo as well as the host address.
67 Also remove dead code for binding to multiple IP addresses; I don't
68 think we need to handle that.
70 2008-09-18 Michael Hutchinson <mhutchinson@novell.com>
72 * HttpChannel.cs: Fix default channel name.
74 2008-09-18 Michael Hutchinson <mhutchinson@novell.com>
76 * HttpClientTransportSink: Fix logic error that broke async client
77 functionality. Fixes HttpAsyncCallTest tests.
79 2008-06-14 Sebastien Pouliot <sebastien@ximian.com>
81 * HttpRemotingHandler.cs: Remove double assignment to bodyBuffer.
82 [Found using Gendarme]
84 2008-02-12 Roei Erez (roeie@mainsoft.com)
86 * HttpServerChannel.cs: Always initialize channel uri.
88 2007-10-30 Robert Jordan <robertj@gmx.net>
90 * HttpHelper.cs: Support for the "https" scheme. Make scheme parser
91 case invariant. Fixes bug #81701.
93 * HttpServerChannel.cs (GetChannelUri): Take channel data into account.
95 * HttpServerChannel.cs (SetupChannel): Initialize channel data
96 with "null", because at this stage we don't necessary have a valid
99 2007-08-23 Robert Jordan <robertj@gmx.net>
101 * HttpRemotingHandlerFactory.cs: configure Remoting because
102 System.Web doesn't anymore. Fixes #81831.
104 2006-12-18 Lluis Sanchez Gual <lluis@novell.com>
106 * HttpServerChannel.cs: The remoting infrastructure does not call
107 StartListening() anymore, so it has to be called by the channel.
109 2006-03-05 Andrew Skiba <andrews@mainsoft.com>
111 * HttpClientChannel.cs, HttpServerChannel.cs: exceptions propagating
112 incompatible with dotnet. Patch by roeie@mainsoft.com
114 2005-11-06 Svetlana Zholkovsky <svetlanaz@mainsoft.com>
116 * Add HttpHandlerFactory.jvm.cs
117 * HttpHandlerFactory.cs: Create and register HttpChannel in case it
118 was not registered before.
119 * HttpHandler.cs: Send response headers.
120 * HttpServerChannel.cs:
121 - Change default port to -1.
122 - Don't start a listener if the port == -1
123 - Send response to the client also in case of DispatchRequest fails
125 2005-10-10 Lluis Sanchez Gual <lluis@novell.com>
127 * HttpServer.cs: Removed all non-sense regular expressions for
128 parsing files. Makes the channel faster and fixes bug #75886.
130 2005-07-06 Lluis Sanchez Gual <lluis@novell.com>
132 * HttpServer.cs: Close the connection after processing the request.
133 Based on a patch by Brion Vibber. Fixes bug #75467.
135 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
137 * HttpServerChannel.cs: Catch exceptions thrown in the server thread.
138 In StopListening, wait for the server thread to stop before returning.
140 2005-01-25 Lluis Sanchez Gual <lluis@novell.com>
142 * HttpServer.cs: Use a single stream for in an out stream, since they
143 where the same. Set IPAddress and ConnectionId transport headers.
145 2005-01-14 Lluis Sanchez Gual <lluis@novell.com>
147 * HttpServerChannel.cs: Use the new RemotingThreadPool to manage threads.
149 * HttpServer.cs: Minor fix.
151 2004-12-17 Lluis Sanchez Gual <lluis@ximian.com>
153 * HttpHelper.cs: Removed unused method. Optimized CopyStream method.
154 * HttpServerChannel.cs: SendResponse does not return a bool any
155 more, it throws an exception when it fails.
156 * HttpServer.cs: Improved handling of errors.
158 2004-10-22 Lluis Sanchez Gual <lluis@ximian.com>
160 * HttpClientChannel.cs: In CreateMessageSink, process the remote channel
161 data if the provided url does not have the expected format. This fixes
162 a regression from the fix for bug #66768 and fixes #68669.
164 2004-09-27 Lluis Sanchez Gual <lluis@ximian.com>
166 * HttpClientChannel.cs: Throw an http exception if the response is a 500,
167 don't try to deserialize the exception.
169 2004-05-26 Lluis Sanchez Gual <lluis@ximian.com>
171 * HttpServerChannel.cs: Default port is 0.
173 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
175 * HttpServerChannel.cs: Take unused port if the provided prot is 0.
177 2004-05-13 Lluis Sanchez Gual <lluis@ximian.com>
179 * HttpChannel.cs, HttpClientChannel.cs: Added missing IDictionary
181 * HttpRemotingHandler.cs: Added missing constructor.
182 * HttpRemotingHandlerFactory.cs: Made ConfigureHttpChannel private.
183 * HttpServerChannel.cs: Fixed IDictionary properties.
185 2004-04-30 Lluis Sanchez Gual <lluis@ximian.com>
187 * HttpServer.cs: Removed dead code.
189 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
191 * HttpClientChannel.cs: Set the RequestUri transport header before sending
194 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
196 * HttpRemotingHandlerFactory.cs: Loading of remoting configuration moved
197 to System.Web.Configuraiton.
199 2003-12-12 Lluis Sanchez Gual <lluis@ximian.com>
201 * HttpServer.cs: Removed debug code.
203 2003-12-10 Lluis Sanchez Gual <lluis@ximian.com>
205 * HttpServer.cs: Allow the use of GET method (SdlServerSink supports it).
206 Added some text constans for transport keys.
207 * HttpServerChannel.cs: Add SdlChannelSinkProvider to the default
208 sink provider chain. Removed unused ErrorMessage class.
210 2003-11-16 Lluis Sanchez Gual <lluis@ximian.com>
212 * HttpHelper.cs: Removed usnused method GetMachineIp.
213 * HttpServerChannel.cs: Added support for priority, bindTo, useIpAddress and
214 machineName properties.
216 2003-11-13 Lluis Sanchez Gual <lluis@ximian.com>
218 * HttpChannel.cs: Create empty property dictionary in the default
221 2003-11-13 Lluis Sanchez Gual <lluis@ximian.com>
223 * HttpChannel.cs: Moved initialization code in SetupChannel to the
224 respective client and server channels. Added implementatoin of the
225 interface IChannelReceiverHook.
226 * HttpRemotingHandler.cs: Implemented.
227 * HttpRemotingHandlerFactory.cs: Implemented.
228 * HttpServer.cs: In general, use Stream instances instead of Socket. It is
229 more reusable in this way. Also improved formatting.
230 * HttpServerChannel.cs: Implemented support for IChannelReceiverHook.
231 Added new method DispatchRequest in HttpServerTransportSink that can
232 be reused by HttpRemotingHandler.
234 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
236 * HttpServerChannel.cs: Removed StartListening call from constructor. It
237 is called by the remoting framework.
238 * HttpClientChannel.cs, HttpHelper.cs: Fixed some formatting.
240 2003-09-17 Lluis Sanchez Gual <lluis@ximian.com>
242 * HttpHelper.cs: Fixed bug #48468. Patch by Jean-Marc Andre.
243 * HttpClientChannel.cs HttpServer.cs HttpServerChannel.cs: Fixed some warnings.
245 2003-08-22 Lluis Sanchez Gual <lluis@ximian.com>
247 * HttpClientChannel.cs: Changed text for user-agent header (removed references
249 Removed try/catch from AsyncProcessRequest. If there is an exception it must
251 in AsyncRequestHandler, improved management of exceptions. HttpWebRequest
252 throws an exception if the result code is 400, 500. Is is not a communication
253 error, but an application or server error. The content of the body must be
254 deserialized like in normal responses.
255 In CreateWebRequest, if the stream being sent is a MemoryStream, use a more
256 efficient way of writing the content.
257 In SendAndRecieve, same as in AsyncRequestHandler. Also moved some code to a
258 new method named ReceiveResponse, so it can be reused from AsyncRequestHandler.
259 * HttpHelper.cs: Removed some debugging code that is not needed.
260 * HttpServer.cs: Improved formatting of some code.
261 In CheckRequest method, send a 100-continue response if the request has
262 the header: expect:100-continue.
263 Method SendResponse: the remoting formatter may include the result code and
264 reason phrase to use in the transport headers. Used them if provided.
265 * HttpServerChannel.cs: Use ThreadPool to create the thread that will answer
268 2003-08-18 Lluis Sanchez Gual <lluis@ximian.com>
270 * HttpClientChannel.cs, HttpServerChannel.cs: Fixed bug #47703
272 2003-06-21 Lluis Sanchez Gual <lluis@ximian.com>
274 * HttpChannel.cs, HttpClientChannel.cs, HttpHelper.cs, HttpServer.cs,
275 HttpServerChannel.cs, HttpThread.cs: added new implementation of the HttpChannel
276 by Ahmad Tantawy, Ahmad Kadry and Hussein Mehanna.
277 * unix.args: added HttpHelper.cs,HttpServer.cs,HttpThread.cs.