Commit Graph
16 Commits
Author SHA1 Message Date
Michael Hutchinson 35fc865228 2008-09-23 Michael Hutchinson <[email protected]>
* 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
2008-09-23 22:38:38 +00:00
Michael Hutchinson d997190fc1 svn path=/trunk/mcs/; revision=113894 2008-09-23 20:57:12 +00:00
Michael Hutchinson c1cc8a14f4 svn path=/trunk/mcs/; revision=113893 2008-09-23 20:54:45 +00:00
Andrew Skiba 05a0ec2065 exceptions propagating incompatible with dotnet. Patch by [email protected]
svn path=/trunk/mcs/; revision=57589
2006-03-05 09:05:09 +00:00
Lluis Sanchez 95cc3b3260 2004-12-17 Lluis Sanchez Gual <[email protected]>
* 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
2004-12-17 12:01:43 +00:00
Lluis Sanchez 007e9c3169 * HttpClientChannel.cs: In CreateMessageSink, process the remote channel
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
2004-10-22 14:12:44 +00:00
Lluis Sanchez df381473f3 * HttpClientChannel.cs: Throw an http exception if the response is a 500,
don't try to deserialize the exception.

svn path=/trunk/mcs/; revision=34444
2004-09-27 20:04:30 +00:00
Duncan Mak bab786ade5 Add licensing info
svn path=/trunk/mcs/; revision=30348
2004-06-24 21:38:17 +00:00
Lluis Sanchez a1befbed05 * HttpChannel.cs, HttpClientChannel.cs: Added missing IDictionary
properties.
	* HttpRemotingHandler.cs: Added missing constructor.
	* HttpRemotingHandlerFactory.cs: Made ConfigureHttpChannel private.
	* HttpServerChannel.cs: Fixed IDictionary properties.

svn path=/trunk/mcs/; revision=27245
2004-05-13 08:55:28 +00:00
Lluis Sanchez 64237762c5 * HttpClientChannel.cs: Set the RequestUri transport header before sending
the request.

svn path=/trunk/mcs/; revision=23549
2004-02-27 19:36:19 +00:00
Lluis Sanchez ee47b84f26 * HttpServerChannel.cs: Removed StartListening call from constructor. It
is called by the remoting framework.
	* HttpClientChannel.cs, HttpHelper.cs: Fixed some formatting.

svn path=/trunk/mcs/; revision=19889
2003-11-12 15:37:19 +00:00
Lluis Sanchez 533d806f5a * HttpHelper.cs: Fixed bug #48468. Patch by Jean-Marc Andre.
* HttpClientChannel.cs HttpServer.cs HttpServerChannel.cs: Fixed some warnings.

svn path=/trunk/mcs/; revision=18145
2003-09-17 11:37:26 +00:00
Lluis Sanchez 92fe3d5d5d * HttpClientChannel.cs: Changed text for user-agent header (removed references
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
2003-08-22 14:09:48 +00:00
Lluis Sanchez 0a14773bc7 * HttpClientChannel.cs, HttpServerChannel.cs: Fixed bug #47703
svn path=/trunk/mcs/; revision=17383
2003-08-18 19:45:14 +00:00
Lluis Sanchez eaac7d7745 * HttpChannel.cs, HttpClientChannel.cs, HttpHelper.cs, HttpServer.cs,
HttpServerChannel.cs, HttpThread.cs: added new implementation of the HttpChannel
	  by Ahmad Tantawy, Ahmad Kadry and Hussein Mehanna.

svn path=/trunk/mcs/; revision=15533
2003-06-21 12:49:23 +00:00
Martin Willemoes Hansen b5bff485cb * Stubed System.Runtime.Remoting.Channels.Http
svn path=/trunk/mcs/; revision=12750
2003-03-22 17:10:03 +00:00