* HttpClientTransportSink.cs: ensure the response stream is disposed.
* HttpServerTransportSink.cs: use the public API of HttpConnection.
* RemotingHttpListener.cs: use the public API of HttpConnection
instead of hooking into an internal method, possibly cause exception
and leave the Connection in an unstable state.
svn path=/trunk/mcs/; revision=142006
* HttpServerTransportSink.cs: Seek to beginning of server response
stream. Fixes Bug 436995 - Xml-Rpc.net does not work since
Mono 1.9.x.
svn path=/trunk/mcs/; revision=118429
* HttpServerChannel.cs: make sure the channel data object is set
when the port is auto-assigned.
* HttpClientTransportSink.cs: Use the __RequestUri header for the
request's URI. Includes workaround for bad __RequestUri values.
Fixes Bug 378713 - [regression] Remoting - HttpChannel.
svn path=/trunk/mcs/; revision=114530
* HttpServerTransportSink.cs: Disable chunking on the server, as
for some reason it was breaking the tests. This reduces efficiency
but right now is unavoidable.
* HttpServerChannel.cs: Implement AddHookChannelUri. Thanks to
Lluis for the patch.
svn path=/trunk/mcs/; revision=113999
* HttpClientChannel.cs: Fix logic error from ==/!= typo. Stops
channel from trying to handle IPC URLs, which was breaking the
IPC tests.
svn path=/trunk/mcs/; revision=113909
* HttpHelper.cs: Support for the "https" scheme. Make scheme parser
case invariant. Fixes bug #81701.
* HttpServerChannel.cs (GetChannelUri): Take channel data into account.
* HttpServerChannel.cs (SetupChannel): Initialize channel data
with "null", because at this stage we don't necessary have a valid
channel URI.
svn path=/trunk/mcs/; revision=88436
2007-08-23 Robert Jordan <[email protected]>
* WebConfigurationSettings.cs: Move RemotingConfiguration to
System.Runtime.Remoting.Channels.Http/HttpRemotingHandlerFactory.cs.
Fixes#19384.
In System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http:
2007-08-23 Robert Jordan <[email protected]>
* HttpRemotingHandlerFactory.cs: configure Remoting because
System.Web doesn't anymore. Fixes#81831.
svn path=/trunk/mcs/; revision=84681
* HttpServerChannel.cs: The remoting infrastructure does not call
StartListening() anymore, so it has to be called by the channel.
svn path=/trunk/mcs/; revision=69704
* HttpServer.cs: Removed all non-sense regular expressions for
parsing files. Makes the channel faster and fixes bug #75886.
svn path=/trunk/mcs/; revision=51509
* HttpServer.cs: Close the connection after processing the request.
Based on a patch by Brion Vibber. Fixes bug #75467.
svn path=/trunk/mcs/; revision=46990
* HttpServerChannel.cs: Catch exceptions thrown in the server thread.
In StopListening, wait for the server thread to stop before returning.
svn path=/trunk/mcs/; revision=44687
* HttpServer.cs: Use a single stream for in an out stream, since they
where the same. Set IPAddress and ConnectionId transport headers.
svn path=/trunk/mcs/; revision=39523
* HttpServerChannel.cs: Use the new RemotingThreadPool to manage threads.
Fixed some warnings.
* HttpServer.cs: Minor fix.
svn path=/trunk/mcs/; revision=38947
* HttpHelper.cs: Removed unused method. Optimized CopyStream method.
* HttpServerChannel.cs: SendResponse does not return a bool any
more, it throws an exception when it fails.
* HttpServer.cs: Improved handling of errors.
svn path=/trunk/mcs/; revision=37874
data if the provided url does not have the expected format. This fixes
a regression from the fix for bug #66768 and fixes#68669.
svn path=/trunk/mcs/; revision=35242
Added some text constans for transport keys.
* HttpServerChannel.cs: Add SdlChannelSinkProvider to the default
sink provider chain. Removed unused ErrorMessage class.
svn path=/trunk/mcs/; revision=20966
respective client and server channels. Added implementatoin of the
interface IChannelReceiverHook.
* HttpRemotingHandler.cs: Implemented.
* HttpRemotingHandlerFactory.cs: Implemented.
* HttpServer.cs: In general, use Stream instances instead of Socket. It is
more reusable in this way. Also improved formatting.
* HttpServerChannel.cs: Implemented support for IChannelReceiverHook.
Added new method DispatchRequest in HttpServerTransportSink that can
be reused by HttpRemotingHandler.
svn path=/trunk/mcs/; revision=19943
to MS.NET).
Removed try/catch from AsyncProcessRequest. If there is an exception it must
flow to the caller.
in AsyncRequestHandler, improved management of exceptions. HttpWebRequest
throws an exception if the result code is 400, 500. Is is not a communication
error, but an application or server error. The content of the body must be
deserialized like in normal responses.
In CreateWebRequest, if the stream being sent is a MemoryStream, use a more
efficient way of writing the content.
In SendAndRecieve, same as in AsyncRequestHandler. Also moved some code to a
new method named ReceiveResponse, so it can be reused from AsyncRequestHandler.
* HttpHelper.cs: Removed some debugging code that is not needed.
* HttpServer.cs: Improved formatting of some code.
In CheckRequest method, send a 100-continue response if the request has
the header: expect:100-continue.
Method SendResponse: the remoting formatter may include the result code and
reason phrase to use in the transport headers. Used them if provided.
* HttpServerChannel.cs: Use ThreadPool to create the thread that will answer
a request.
svn path=/trunk/mcs/; revision=17515