14 Commits
Author SHA1 Message Date
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05:00
Miguel de Icaza 8d15c21023 [WCF] Make BasicHttpBinding.AllowCookies work
This patch is from Brendan Zagaeski and fixes bug 11307

The description of the problem was:

In Mono 2.10.12, the BasicHttpBinding property no longer supports
EnableHttpCookieContainer because it is Depreciated. The replacement
is AllowCookies, but this property does not work. Upon inspection of
the source source, we find that the HttpCookieContainerBindingElement
is added in accordance with EnableHttpCookieContainer, but not
AllowCookies.

The conditional compile logic at [1] is no longer needed for
Xamarin.iOS or Xamarin.Android.
2014-06-19 17:45:15 -04:00
Martin Baulig 97d52b2237 [WCF]: Implement cookie support in .NET 4.0. 2013-03-22 04:08:10 +01:00
Miguel de Icaza 96e0bed4c8 Fix bug 1203, relaxes the test for the protocol to allow https endpoints 2011-10-16 11:45:58 -04:00
Atsushi Eno 6bdd3cdf39 2010-05-14 Atsushi Enomoto <[email protected]>
* HttpChannelFactory.cs
          TcpChannelFactory.cs
          ChannelFactoryBase.cs
          NamedPipeChannelFactory.cs
          PeerChannelFactory.cs
          RequestChannelBase.cs : commonize MessageEncoder.
          (Commented out GetPrpoerty<T>() for MessageVersion as it is 
          in doubt yet.)


svn path=/trunk/mcs/; revision=157366
2010-05-14 16:22:18 +00:00
Atsushi Eno 3b981adaf1 2010-05-14 Andreia Gaita <[email protected]>
* BindingContext.cs: Copy elements from the original binding only when
	creating it, never when cloning it. This way, CanBuildInnerChannel can
	work recursively as it should.

2010-05-14  Atsushi Enomoto  <[email protected]>

	* CustomBinding.cs : return clone collection.
	* BindingContext.cs :
	  Simply use RemainingBindingElements in builder methods.
	  Clone() should be deep copying (as documented).
	* BinaryMessageEncodingBindingElement.cs
	  MtomMessageEncodingBindingElement.cs
	  TextMessageEncodingBindingElement.cs
	  HttpCookieContainerBindingElement.cs :
	  do not add itself to RemainingBindingElements.
	* HttpChannelFactory.cs
	  HttpChannelListener.cs
	  TcpChannelFactory.cs
	  TcpChannelListener.cs
	  MsmqChannelFactory.cs
	  MsmqChannelListener.cs
	  NamedPipeChannelFactory.cs
	  NamedPipeChannelListener.cs
	  PeerChannelFactory.cs
	  PeerChannelListener.cs : do not iterate RemainingBindingElements.
	  Instead, iterate all binding elements in the CustomBinding.



svn path=/trunk/mcs/; revision=157345
2010-05-14 05:20:37 +00:00
Atsushi Eno 17b88b6dcf 2010-01-13 Atsushi Enomoto <[email protected]>
* HttpChannelFactory.cs, TcpChannelFactory.cs,
	  ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
	  PeerChannelFactory.cs, HttpRequestChannel.cs:
	  fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
	  type and made required changes.



svn path=/trunk/mcs/; revision=149436
2010-01-13 08:28:22 +00:00
Atsushi Eno ad860bce0a 2010-01-13 Astushi Enomoto <[email protected]>
* net_2_1_raw_System.ServiceModel.dll.sources :
	  add HttpCookieContainerBindingElement.cs.

	* HttpCookieContainerBindingElement.cs : new.
	* IHttpCookieContainer.cs : fix type name.
	* HttpRequestChannel.cs, HttpChannelFactory.cs : support above.

	* BasicHttpBinding.cs : add SL3 EnableHttpCookieContainer support.


svn path=/trunk/mcs/; revision=149435
2010-01-13 08:13:43 +00:00
Atsushi Eno 03e70edb42 2009-12-04 Atsushi Enomoto <[email protected]>
* HttpRequestChannel.cs, HttpChannelFactory.cs,
	  HttpChannelListener.cs, HttpListenerManager.cs :
	  implemented http client authentication and some of corresponding
	  service code. Only client works so far.


svn path=/trunk/mcs/; revision=147642
2009-12-04 04:59:54 +00:00
Atsushi Eno 7a217b8104 2009-08-31 Atsushi Enomoto <[email protected]>
* HttpChannelFactory.cs, HttpRequestChannel.cs,
	  ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
	  Check ManualAddressing value and reject address-missing ones.


svn path=/trunk/mcs/; revision=140962
2009-08-31 12:26:49 +00:00
Atsushi Eno 59fceba19b 2009-08-31 Atsushi Enomoto <[email protected]>
* HttpChannelFactory.cs : reject URI mismatch cases when required.

	* HttpTransportBindingElementTest.cs : test for URI mismatch case.


svn path=/trunk/mcs/; revision=140960
2009-08-31 12:10:33 +00:00
Atsushi Eno 09f0a1b008 2009-07-08 Atsushi Enomoto <[email protected]>
* ChannelFactoryBase.cs, HttpChannelFactory.cs,
	  PeerChannelFactory.cs : close opened channels at OnClose() as
	  documented. Implement async methods.
	* PeerChannelListener.cs : removed some NIE overrides.


svn path=/trunk/mcs/; revision=137528
2009-07-08 01:00:32 +00:00
Atsushi Eno 7017be6aa3 2009-05-22 Atsushi Enomoto <[email protected]>
* BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
	  This encoder factory implements CreateSessionEncoder() and binary
	  encoder does support session transmit, in different media type.
	* ChannelManagerBase.cs : added utility method to create appropriate
	  encoder.
	* HttpChannelFactory.cs, HttpChannelListener.cs,
	  MsmqChannelFactory.cs, MsmqChannelListener.cs,
	  PeerChannelFactory.cs, PeerChannelListener.cs,
	  TcpChannelFactory.cs, TcpChannelListener.cs : use above.

	* MessageEncoderTest.cs : test CreateSessionEncoder().


svn path=/trunk/mcs/; revision=134584
2009-05-22 02:27:04 +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