* 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
* 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
* 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
* 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
* 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
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
HttpServerChannel.cs, HttpThread.cs: added new implementation of the HttpChannel
by Ahmad Tantawy, Ahmad Kadry and Hussein Mehanna.
svn path=/trunk/mcs/; revision=15533