* 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: 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
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