Commit Graph
271 Commits
Author SHA1 Message Date
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
Gert Driesen 36e65ff2e6 * System.Runtime.Remoting_test.dll.sources: add SocketCachePolicy.cs.
* SocketCachePolicy.cs: Added.
* IpcChannel.cs: Fixed argument names to match MS. Changed spaces to
tabs.
* IpcClientChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* IpcServerChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* TcpChannel.cs: Fixed argument names to match MS.
* TcpServerChannel.cs: Fixed argument names to match MS.
* MetaData.cs: Fixed argument names to match MS.
* SdlChannelSink.cs: Fixed argument names to match MS.
* SUDSGeneratorException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* SUDSParserException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* RemotingClientProxy.cs: Marked ComVisible on 2.0 profile.

svn path=/trunk/mcs/; revision=110042
2008-08-09 14:06:44 +00:00
Gert Driesen 371e191ff2 * BinaryServerFormatterSink.cs: Fixed argument name to match MS.
* SoapClientFormatterSink.cs: Fixed argument name to match MS. Code
formatting.

svn path=/trunk/mcs/; revision=110040
2008-08-09 12:03:24 +00:00
Gert Driesen 8c6c9c72d2 * AssemblyInfo.cs: ComVisible attribute only applies to 2.0 profile.
svn path=/trunk/mcs/; revision=110039
2008-08-09 11:59:17 +00:00
Robert Jordan a268517e55 2008-06-18 Robert Jordan <[email protected]>
* TcpMessageIO.cs: Handle zero length streams. Fixes #398783.


svn path=/trunk/mcs/; revision=106194
2008-06-19 10:38:23 +00:00
Sebastien Pouliot a73e58bf35 2008-06-14 Sebastien Pouliot <[email protected]>
* HttpRemotingHandler.cs: Remove double assignment to bodyBuffer.
	[Found using Gendarme]


svn path=/trunk/mcs/; revision=105846
2008-06-14 15:34:05 +00:00
Noam Lampert 5a43e30bfa Remove all vmwcproj files from old Grasshopper version
svn path=/trunk/mcs/; revision=104227
2008-05-28 09:28:24 +00:00
Andreas N 501fbd5dda small fix
svn path=/trunk/mcs/; revision=101650
2008-04-24 07:27:29 +00:00
Andreas N d8e3baf388 small fix
svn path=/trunk/mcs/; revision=101523
2008-04-23 10:47:10 +00:00
Andreas N 4a32ba990c 2008-04-23 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added missing attributes

svn path=/trunk/mcs/; revision=101522
2008-04-23 10:42:18 +00:00
Robert Jordan d755781cb0 flush forgotten changelog
svn path=/trunk/mcs/; revision=95544
2008-02-12 18:53:48 +00:00
Roei Erez 869928f0f0 Initialize Channel uri in all cases
svn path=/trunk/mcs/; revision=95498
2008-02-12 13:55:28 +00:00
Gert Driesen 2d9ffcb60d * ActivationTests.cs: Only stop server if it was actually created.
* RemotingServicesTest.cs: Always/only unregister channels if they were
actually created. More code formatting.

svn path=/trunk/mcs/; revision=93959
2008-01-25 20:41:57 +00:00
Gert Driesen 5b45f4fecc * System.Runtime.Remoting_test.dll.sources: add TcpChannelTest.cs.
* RemotingServicesTest.cs: Do not hide exception that occur when
unregistering a channel. Code formatting and removed extra tabs.
* TcpChannelTest.cs: Added simple ctor test that covers bug #355905.
* System.Runtime.Remoting_test.dll.sources: add TcpChannelTest.cs.

svn path=/trunk/mcs/; revision=93956
2008-01-25 20:22:12 +00:00
Zoltan Varga 8708f16017 2008-01-25 Zoltan Varga <[email protected]>
* TcpChannel.cs (Init): Handle properties == null.

	* TcpClientChannel.cs (.ctor): Ditto. Fixes #355905.

svn path=/trunk/mcs/; revision=93953
2008-01-25 19:38:31 +00:00
Noam Lampert 078bfb7274 Build java configuration using RT of JRE 1.4.2 for support of older java systems
svn path=/trunk/mcs/; revision=91221
2007-12-13 12:01:56 +00:00
Robert Jordan c3d3e783a7 2007-10-30 Robert Jordan <[email protected]>
* 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-10-30 02:14:42 +00:00
Robert Jordan 5b80f582a1 2007-10-30 Robert Jordan <[email protected]>
* GenericTest.cs: Add tests for bug #324232.


svn path=/trunk/mcs/; revision=88435
2007-10-30 01:49:53 +00:00
Robert Jordan 6a84a0d32e 2007-09-09 Robert Jordan <[email protected]>
* GenericTest.cs: Add tests for bug #78882, #81554.


svn path=/trunk/mcs/; revision=85527
2007-09-08 23:16:34 +00:00