Commit Graph
31 Commits
Author SHA1 Message Date
Alexander Köplinger e7a2d94f75 [bcl] Fix a few hardcoded socket ports in tests (#5471)
* [System] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

* [System.Runtime.Remoting] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

Additionally remove a copy of RemotingServicesTest.cs from corlib
which also exists in System.Runtime.Remoting in updated form.

* [System.ServiceModel] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

* [System.Net.Http] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

The additional "keep-alive" header in Send_Complete_NoContent() and
Send_Transfer_Encoding_Chunked() is because we were using the same
port for all tests before so other tests would clear the header.
This doesn't happen now that we use distinct test ports.

* [System.ServiceModel.Web] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.
2017-08-31 10:53:35 +02:00
Alexander Köplinger 9e91b6687e [System.ServiceModel] Don't use DateTime.Now for measuring elapsed time
Use Stopwatch or DateTime.UtcNow instead which aren't affected
by things like daylight-saving time
2017-07-02 23:31:34 +02:00
Alexander Köplinger cd57ffcd04 [System.ServiceModel] Rename method parameters to match .NET contract 2017-03-16 13:02:09 +01:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Atsushi Eno 39a5c7f6d4 add private setter for message serialization.
Not sure if it is hack or required-to-do though.
2011-02-15 15:45:58 +09:00
Atsushi Eno 64d0f5b30c 2010-05-19 Atsushi Enomoto <[email protected]>
* ServiceSettingsResponseInfo.cs
	  RegisterResponseInfo.cs
	  RefreshResponseInfo.cs
	  ResolveInfo.cs
	  UpdateInfo.cs
	  RegisterInfo.cs
	  UnregisterInfo.cs
	  RefreshInfo.cs
	  ResolveResponseInfo.cs : they don't have field initialization at
	  constructor now, for FormatterServices.GetUninitializedObject().
	  Fix regression with related to serialization changes.

	* PeerResolverSerializationTest.cs :
	  verify deserialized address count too.


svn path=/trunk/mcs/; revision=157532
2010-05-19 08:12:32 +00:00
Atsushi Eno 54481ead34 2009-08-24 Atsushi Enomoto <[email protected]>
* Constants.cs : p2p constants should rather go here.

	* IPeerConnectorContract.cs : use common Constants class.


svn path=/trunk/mcs/; revision=140483
2009-08-24 09:51:33 +00:00
Atsushi Eno b36294853a 2009-08-17 Atsushi Enomoto <[email protected]>
* IPeerConnectorContract.cs : use wildcard for the actual message
	  transfer operation.

	* ServiceHostBase.cs : wildcard action support was not working
	  for one-way channels.


svn path=/trunk/mcs/; revision=140059
2009-08-17 13:38:25 +00:00
Atsushi Eno f10fde344f 2009-08-17 Atsushi Enomoto <[email protected]>
* IPeerConnectorContract.cs : fix internal member name to get
	  serialized correctly.


svn path=/trunk/mcs/; revision=140038
2009-08-17 07:58:27 +00:00
Atsushi Eno be4a6a6314 2009-08-14 Atsushi Enomoto <[email protected]>
* IPeerConnectorContract.cs : add itself as CallbackContract.


svn path=/trunk/mcs/; revision=139960
2009-08-14 19:17:05 +00:00
Atsushi Eno 79a9700b7a 2009-08-14 Atsushi Enomoto <[email protected]>
* PeerDuplexChannel.cs : handle Welcome and Refuse at client side.
	  Now simply use connector contract.

	* IPeerConnectorContract.cs : remove receiver contract.


svn path=/trunk/mcs/; revision=139958
2009-08-14 18:26:50 +00:00
Atsushi Eno 2037c58953 2009-08-14 Atsushi Enomoto <[email protected]>
* IPeerConnectorContract.cs : add Disconnect() to receiver contract.


svn path=/trunk/mcs/; revision=139913
2009-08-14 12:38:59 +00:00
Atsushi Eno b24a5ca835 2009-08-07 Atsushi Enomoto <[email protected]>
* IPeerConnectorContract.cs : add callback contract.


svn path=/trunk/mcs/; revision=139542
2009-08-07 06:07:14 +00:00
Atsushi Eno 82a318ea82 2009-08-04 Atsushi Enomoto <[email protected]>
* IPeerConnectorContract.cs : fix contract and add receiver iface
	  (might be unnecessary though).


svn path=/trunk/mcs/; revision=139331
2009-08-04 09:55:15 +00:00
Atsushi Eno 99764f539c 2009-07-31 Atsushi Enomoto <[email protected]>
* IPeerConnectorContract.cs : new file for [MC-PRCH].

	* System.ServiceModel.dll.sources: add IPeerConnectorContract.cs.


svn path=/trunk/mcs/; revision=139158
2009-07-31 09:27:47 +00:00
Atsushi Eno b407c938e5 2009-07-14 Atsushi Enomoto <[email protected]>
* ServiceSettingsResponseInfo.cs
	  RegisterResponseInfo.cs
	  RefreshResponseInfo.cs
	  ResolveInfo.cs
	  UpdateInfo.cs
	  RegisterInfo.cs
	  UnregisterInfo.cs
	  ResolveResponseInfo.cs
	  RefreshInfo.cs : implement HasBody(). I couldn't find any case
	  that this method might return false.

	* PeerResolverSerializationTest.cs : fix test name/namespace.
	  add HasBody() test.


svn path=/trunk/mcs/; revision=137859
2009-07-14 12:41:31 +00:00
Atsushi Eno 3c33f30c83 2009-07-14 Atsushi Enomoto <[email protected]>
* CustomPeerResolverService.cs : remove commented code.
	  Fix and reduce extra code in ServiceBehaviorAttribute.


svn path=/trunk/mcs/; revision=137840
2009-07-14 08:05:38 +00:00
Atsushi Eno 13326a07ec 2009-07-14 Atsushi Enomoto <[email protected]>
* ResolveResponseInfo.cs : by default it returns empty address list,
	  instead of xsi:nil.
	* LocalPeerResolverService.cs : resolve operation should return
	  all registered nodes but the client itself.


svn path=/trunk/mcs/; revision=137838
2009-07-14 07:43:44 +00:00
Atsushi Eno b9bde7b74f 2009-07-14 Atsushi Enomoto <[email protected]>
* RefreshResponseInfo.cs : fix name typo.


svn path=/trunk/mcs/; revision=137837
2009-07-14 07:21:47 +00:00
Atsushi Eno c09d592238 2009-07-09 Atsushi Enomoto <[email protected]>
* LocalPeerResolverService.cs : fix RegistrationLifetime to return.


svn path=/trunk/mcs/; revision=137620
2009-07-09 11:02:31 +00:00
Atsushi Eno 4d0710b0a4 2009-07-07 Atsushi Enomoto <[email protected]>
* CustomPeerResolverService.cs, LocalPeerResolverService.cs,
	  ICustomPeerResolverContract.cs : add local machine peer resolver
	  implementation that can work across appdomains (based on
	  dispatching peer resolver that communicates with a ServiceHost
	  which is either locally started or running as a different process).

	* System.ServiceModel.dll.sources:
	  Added new custom peer resolver files.


svn path=/trunk/mcs/; revision=137504
2009-07-07 15:16:55 +00:00
Atsushi Eno 56d3f9a51e 2009-06-01 Atsushi Enomoto <[email protected]>
* CustomPeerResolverService.cs : Refresh() now gives readable reply.


svn path=/trunk/mcs/; revision=135114
2009-06-01 09:31:34 +00:00
Atsushi Eno 7bc65322fe 2009-05-29 Atsushi Enomoto <[email protected]>
* CustomPeerResolverService.cs : implement some members.


svn path=/trunk/mcs/; revision=135054
2009-05-29 09:06:35 +00:00
Atsushi Eno 22a8b39441 2009-05-29 Atsushi Enomoto <[email protected]>
* RegisterResponseInfo.cs : it does not always reply lifetime.


svn path=/trunk/mcs/; revision=135053
2009-05-29 09:05:54 +00:00
Atsushi Eno db1b22949a 2009-05-28 Atsushi Enomoto <[email protected]>
* RegisterResponseInfo.cs : oops, Marcos was right. .NET returns
	  "Update" element here.


svn path=/trunk/mcs/; revision=134971
2009-05-28 16:58:31 +00:00
Atsushi Eno 11c5ddbb44 2009-05-28 Atsushi Enomoto <[email protected]>
* ServiceSettingsResponseInfo.cs, RegisterResponseInfo.cs,
	  RefreshResponseInfo.cs, ResolveInfo.cs, UpdateInfo.cs,
	  UnregisterInfo.cs, ResolveResponseInfo.cs, RefreshInfo.cs :
	  set explicit namespaces on DataContract so that their members can
	  be serialized in appropriate namespace (namespaces in
	  MessageBodyMemberAttribute does not apply there).


svn path=/trunk/mcs/; revision=134956
2009-05-28 14:32:36 +00:00
Atsushi Eno dab61630c2 2009-05-27 Atsushi Enomoto <[email protected]>
* ResolveInfo.cs : argument check.

	* PeerCustomResolverBindingElement.cs : some argument check.


svn path=/trunk/mcs/; revision=134821
2009-05-27 08:13:02 +00:00
Atsushi Eno 3d1ecb35bf 2009-04-21 Atsushi Enomoto <[email protected]>
* PeerNode.cs : remove extra field.

	* PeerCustomResolverSettings.cs : added Clone().

	* PeerCustomResolverBindingElement.cs :
	  implement full custom resolver.


svn path=/trunk/mcs/; revision=132255
2009-04-21 12:59:56 +00:00
Atsushi Eno 1f9a2160f1 ongoing PeerTransportBindingElement implementation.
svn path=/trunk/mcs/; revision=132146
2009-04-20 12:16:39 +00:00
Atsushi Eno ca354a4d73 2009-04-07 Atsushi Enomoto <[email protected]>
* IPeerResolverContract.cs: fix SessionMode value.

	(bah, bad manner; no ChangeLog previously.)

	* CustomPeerResolverServiceTest.cs : added contract check.


svn path=/trunk/mcs/; revision=131219
2009-04-07 12:02:21 +00:00
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00