Commit Graph
289 Commits
Author SHA1 Message Date
Miguel de Icaza 38253abf8c Add solution files 2011-02-12 22:09:49 -05:00
Gonzalo Paniagua Javier eb2a5490f2 Adapt to new exception in threadpool behavior.
Since an exception in the threadpool can kill the application,
	silently ignore it when we know it is not harmful.
2010-08-11 13:15:39 -04:00
Robert Jordan 0617642a95 [Fix] Handle the portName argument/property properly.
Some of IpcServerChannel's ctors did not keep track of the original
IPC port name correctly. This led to a non-functional GetUrlsForUri
method.
2010-08-12 00:53:27 +08:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Robert Jordan c865cdf96d In Test:
2010-05-29  Robert Jordan  <[email protected]>

	* IpcChannelTest.cs: Add test for bug #609381.

In System.Runtime.Remoting.Channels.Ipc.Win32:
2010-05-29  Robert Jordan  <[email protected]>

	* IpcChannelHelper.cs (copy): Take into account that the remoting
	stack is internally using MemoryStreams all over the place.
	Fixes bug #609381 as a side effect.

	* IpcChannel.cs (.ctor): Create an IpcClientChannel as well.


svn path=/trunk/mcs/; revision=158161
2010-05-29 16:37:13 +00:00
Robert Jordan f2062c1ef9 In corlib/System.Runtime.Remoting.Proxies:
2010-02-28  Robert Jordan  <[email protected]>

	* RealProxy.cs (PrivateInvoke): BeginInvoke return messages
	do not have out args (by design). The issue has existed for many
	years but it was invisible because mono_delegate_begin_invoke ()
	has swallowed exceptions, which was fixed by Gonzalo in r141856.
	Fixes a couple of disabled remoting tests (#576618).

In System.Runtime.Remoting/Test:
2010-02-28  Robert Jordan  <[email protected]>

	* BaseCalls.cs: Enable tests again. See bug #576618.


svn path=/trunk/mcs/; revision=152616
2010-02-27 23:18:52 +00:00
Robert Jordan e98ad4746f 2010-02-26 Robert Jordan <[email protected]>
* Remove MonoHttp (NET_1_1) from the build.


svn path=/trunk/mcs/; revision=152589
2010-02-26 22:30:47 +00:00
Jonathan Pobst 5b5a2c4994 2010-02-11 Jonathan Pobst <[email protected]>
* ActivationTests.cs: Disable TestCreateHttpWkoSingleCall and
	TestCreateHttpWkoSingleton due to sporadic failures.
	Filed as bug #579277.

svn path=/trunk/mcs/; revision=151549
2010-02-11 20:25:36 +00:00
Jonathan Pobst 50044dfc5e 2010-02-03 Jonathan Pobst <[email protected]>
* HttpCalls.cs: Disable all tests here due to excessive
	sporadic failures.  Filed as bug #576724.

svn path=/trunk/mcs/; revision=150788
2010-02-03 21:16:00 +00:00
Jonathan Pobst 94091b8c6f 2010-02-03 Jonathan Pobst <[email protected]>
* BaseCalls.cs: Mark tests as NotWorking.  Reported as bug #576618.

svn path=/trunk/mcs/; revision=150775
2010-02-03 17:49:08 +00:00
Gonzalo Paniagua Javier 151ad72517 2009-09-15 Gonzalo Paniagua Javier <[email protected]>
* 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
2009-09-16 01:38:49 +00:00
Gonzalo Paniagua Javier bd709d64b7 add timeout here too
svn path=/trunk/mcs/; revision=142005
2009-09-16 01:36:39 +00:00
Gonzalo Paniagua Javier d5c8747c5a painfully updated these
svn path=/trunk/mcs/; revision=141863
2009-09-13 03:30:33 +00:00
Gonzalo Paniagua Javier 8d6883358e 2009-09-12 Gonzalo Paniagua Javier <[email protected]>
* HttpServerChannelTests.cs:
	* BaseCalls.cs:
	* System.Runtime.Remoting.Channels.Tcp/TcpChannelTest.cs: ignore tests
	that fail on MS.NET.


svn path=/trunk/mcs/; revision=141862
2009-09-13 03:15:56 +00:00
Robert Jordan 8e4d16bf5f 2009-05-24 Robert Jordan <[email protected]>
* GenericTest.cs: differentiate between "Test(int)" and
	"Test<int>(int)" to prove that the correct method is invoked.

svn path=/trunk/mcs/; revision=134649
2009-05-24 14:06:26 +00:00
Robert Jordan b6df9d8ee1 2009-05-24 Robert Jordan <[email protected]>
* GenericTest.cs (TestCrossAppDomainChannel): disable on MS.NET as
	some generic calls do not seem to be supported anymore. It looks
	like a bug, though, since the same tests are passing when performed
	over the TCP channel.

svn path=/trunk/mcs/; revision=134648
2009-05-24 13:47:34 +00:00
Robert Jordan 86da8ea29d 2009-05-24 Robert Jordan <[email protected]>
* GenericTest.cs (TestTcpChannel): create a unique channel and
	unregister it upon termination. Fixes issues that were uncovered
	by the NUnit upgrade (see Atsushi's changelogs below).


svn path=/trunk/mcs/; revision=134646
2009-05-24 12:46:29 +00:00
Gonzalo Paniagua Javier 9381095cab 2009-02-08 Gonzalo Paniagua Javier <[email protected]>
* HttpClientTransportSink.cs: if we get an WebException that does not
	have a response, dispatch it to the sink.



svn path=/trunk/mcs/; revision=126288
2009-02-08 22:51:30 +00:00
Gonzalo Paniagua Javier ebca9df905 synch
svn path=/trunk/mcs/; revision=123455
2009-01-15 06:11:13 +00:00
Gonzalo Paniagua Javier 7c6c3ba73b Updated
svn path=/trunk/mcs/; revision=123451
2009-01-15 05:47:13 +00:00
Atsushi Eno 865348e6c0 2009-01-07 Atsushi Enomoto <[email protected]>
* RemotingServicesTest.cs : mark failing test as NotWorking, and 
	  Ignore the blocker for other tests.
	  Remoting tests are finally back!


svn path=/trunk/mcs/; revision=122612
2009-01-07 06:03:38 +00:00
Atsushi Eno e2d9a3100f 2009-01-07 Atsushi Enomoto <[email protected]>
* BaseCalls.cs : fully name is sometimes rejected ... ?


svn path=/trunk/mcs/; revision=122611
2009-01-07 06:02:23 +00:00
Atsushi Eno 3ccf089eb7 2009-01-07 Atsushi Enomoto <[email protected]>
* GenericTest.cs : change from NotWorking to Ignore which also fails
	  and blocks further tests under .NET.


svn path=/trunk/mcs/; revision=122610
2009-01-07 05:39:37 +00:00
Atsushi Eno 31e3350fd4 2009-01-07 Atsushi Enomoto <[email protected]>
* HttpBugTests.cs : mark some tests as [Ignore] as they are blocker
	  to other http tests. Make sure to unregister HTTP channel.


svn path=/trunk/mcs/; revision=122609
2009-01-07 05:28:55 +00:00
Atsushi Eno 73025446bc 2009-01-07 Atsushi Enomoto <[email protected]>
* GenericTest.cs, HttpServerChannelTests.cs, ActivationTests.cs,
	  BaseCalls.cs, CrossDomainCalls.cs, HttpBugTests.cs,
	  ContextsTest.cs : explicitly set applicationBasePath to load
	  the test assembly itself. It reduces hundreds of test failures
	  under .NET and upgraded NUnit.
	  Marked some tests as NotWorking (due to nunit upgrade).


svn path=/trunk/mcs/; revision=122606
2009-01-07 03:46:50 +00:00
Miguel de Icaza 8e07acf772 Multiple files:
Deals with the extension to Environment.OSVersion.Platform that might return a new
value MacOSX (6) on .NET
 

svn path=/trunk/mcs/; revision=121711
2008-12-17 17:56:25 +00:00
Michael Hutchinson b43ec9b8e9 2008-11-10 Michael Hutchinson <[email protected]>
* 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
2008-11-10 22:36:17 +00:00
Jonathan Pryor f5627bfedc Migrating from monodoc/class/System.Runtime.Remoting to mcs/class/System.Runtime.Remoting/Documentation...
svn path=/trunk/mcs/; revision=116212
2008-10-17 14:12:00 +00:00
Michael Hutchinson aa4bddf53a 2008-09-30 Michael Hutchinson <[email protected]>
* 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
2008-10-01 00:00:25 +00:00
Michael Hutchinson 62eacba3e2 2008-09-24 Michael Hutchinson <[email protected]>
* HttpServerChannelTests.cs: Don't check for a chunked response from 
	  the Mono HTTP server; it no longer chunks since that was breaking 
	  other tests.


svn path=/trunk/mcs/; revision=114001
2008-09-24 19:32:52 +00:00
Michael Hutchinson d820c9b996 2008-09-24 Michael Hutchinson <[email protected]>
* 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
2008-09-24 19:30:33 +00:00
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 94eb7a2333 2008-09-23 Michael Hutchinson <[email protected]>
* SoapServerFormatterSink.cs: Do not try to parse text/xml code 
	  unless there is a SOAPAction.  Set position on outgoing streams to 
	  zero, so they can be properly parsed in the general infrastructure.
	  Do not try to seek on incoming streams.


svn path=/trunk/mcs/; revision=113897
2008-09-23 21:07:12 +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
Jeffrey Stedfast 545996df9c 2008-09-19 Jeffrey Stedfast <[email protected]>
* HttpServerChannelTests.cs: More unit tests for
	HttpServerChannel.


svn path=/trunk/mcs/; revision=113594
2008-09-19 22:18:21 +00:00
Robert Jordan 081c1c9c50 2008-09-18 Robert Jordan <[email protected]>
* TcpConnectionPool.cs: Set NoDelay on both profiles.


svn path=/trunk/mcs/; revision=113395
2008-09-18 08:32:17 +00:00
Marek Habersack 782118641c Socket.NoDelay is 2.0+ only
svn path=/trunk/mcs/; revision=113392
2008-09-18 06:29:36 +00:00
Zoltan Varga 10ae206777 2008-09-18 Zoltan Varga <[email protected]>
* TcpConnectionPool.cs: Set the NoDelay flag on the socket to avoid 
	excessive waiting by the tcp stack. Fixes #416462.

svn path=/trunk/mcs/; revision=113381
2008-09-18 02:27:23 +00:00
Jeffrey Stedfast 5b63c536b6 2008-09-17 Jeffrey Stedfast <[email protected]>
* TcpChannel.cs (ParseTcpURL): If given "tcp://", don't set host
	to "", leave it as null.


svn path=/trunk/mcs/; revision=113361
2008-09-17 23:26:51 +00:00
Jeffrey Stedfast 91a48dd5e2 2008-09-17 Jeffrey Stedfast <[email protected]>
* TcpChannelTest.cs: Changed the namespace to MonoTests.Remoting
	like the other Remoting tests and added a client<->server
	communication test. Throw in a ftp:// url for the url-parsing test
	to make sure the parser returns null on that.


svn path=/trunk/mcs/; revision=113358
2008-09-17 22:00:37 +00:00
Jeffrey Stedfast b056688ea7 2008-09-17 Jeffrey Stedfast <[email protected]>
* BaseCalls.cs (RemoteObject): Added more methods for invoking.


svn path=/trunk/mcs/; revision=113357
2008-09-17 22:00:14 +00:00
Jeffrey Stedfast 7c1f35071c 2008-09-17 Jeffrey Stedfast <[email protected]>
* TcpClientChannel.cs (TcpClientChannel): Use the default
	SinkProviders if the sinkProvider argument is null.


svn path=/trunk/mcs/; revision=113329
2008-09-17 16:55:24 +00:00
Jeffrey Stedfast ecf535bb83 oops
svn path=/trunk/mcs/; revision=113322
2008-09-17 15:39:00 +00:00
Jeffrey Stedfast 1228b92905 2008-09-17 Jeffrey Stedfast <[email protected]>
* TcpChannel.cs (ParseTcpURL): TcpClientTransportSink needs the
	host component, so extract that info into its own string as well.


svn path=/trunk/mcs/; revision=113321
2008-09-17 15:38:27 +00:00
Jeffrey Stedfast f54fd3ae5b 2008-09-12 Jeffrey Stedfast <[email protected]>
Fix for bug #320298

	* TcpClientTransportSink.cs: Updated for change to
	TcpChannel.ParseTcpURL(). We now need to do our own integer
	conversion/validation of the port.

	* TcpChannel.cs (ParseTcpURL): We need to match the
	protocol ("tcp") case-insensitively. The objectURI is supposed to
	include the leading '/' character. Also, we need to ignore invalid
	port designators since Microsoft's .NET implementation of
	TcpChannel.Parse() doesn't seem to care that they are valid.


svn path=/trunk/mcs/; revision=112912
2008-09-12 22:10:44 +00:00
Gert Driesen d8f323bc9f Removed extra spaces that I introduced.
svn path=/trunk/mcs/; revision=110048
2008-08-09 16:31:15 +00:00
Gert Driesen a750b79452 * IpcChannel.cs: Fixed argument names to match MS.
* IpcClientChannel.cs: Fixed argument names to match MS. Made
CreateMessageSink virtual to match MS.
* IpcServerChannel.cs: Fixed argument names to match MS. Made
GetUrlsForUri virtual to match MS.

svn path=/trunk/mcs/; revision=110046
2008-08-09 16:24:26 +00:00
Gert Driesen 0d2dae8b4d Revert part of r110042.
svn path=/trunk/mcs/; revision=110045
2008-08-09 15:57:49 +00:00