Author: atsushi
Date: 2008-02-05 10:16:30 -0500 (Tue, 05 Feb 2008)
New Revision: 94891
Modified:
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/HttpTransportBindingElement.cs
Log:
2008-02-05 Atsushi Enomoto <[EMAIL PROTECTED]>
* HttpTransportBindingElement.cs : implemented copy constructor.
Modified:
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog
===================================================================
---
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog
2008-02-05 15:11:28 UTC (rev 94890)
+++
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog
2008-02-05 15:16:30 UTC (rev 94891)
@@ -1,3 +1,7 @@
+2008-02-05 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * HttpTransportBindingElement.cs : implemented copy constructor.
+
2007-08-20 Atsushi Enomoto <[EMAIL PROTECTED]>
* HttpRequestChannel.cs, HttpReplyChannel.cs : treat SOAPAction HTTP
Modified:
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/HttpTransportBindingElement.cs
===================================================================
---
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/HttpTransportBindingElement.cs
2008-02-05 15:11:28 UTC (rev 94890)
+++
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/HttpTransportBindingElement.cs
2008-02-05 15:16:30 UTC (rev 94891)
@@ -51,6 +51,7 @@
string realm = String.Empty;
TransferMode transfer_mode;
IDefaultCommunicationTimeouts timeouts;
+ // If you add fields, do not forget them in copy constructor.
public HttpTransportBindingElement ()
{
@@ -60,7 +61,20 @@
HttpTransportBindingElement other)
: base (other)
{
- throw new NotImplementedException ();
+ allow_cookies = other.allow_cookies;
+ bypass_proxy_on_local = other.bypass_proxy_on_local;
+ unsafe_ntlm_auth = other.unsafe_ntlm_auth;
+ use_default_proxy = other.use_default_proxy;
+ keep_alive_enabled = other.keep_alive_enabled;
+ max_buffer_size = other.max_buffer_size;
+ auth_scheme = other.auth_scheme;
+ proxy_auth_scheme = other.proxy_auth_scheme;
+ host_cmp_mode = other.host_cmp_mode;
+ proxy_address = other.proxy_address;
+ realm = other.realm;
+ transfer_mode = other.transfer_mode;
+ // FIXME: it does not look safe
+ timeouts = other.timeouts;
}
public bool AllowCookies {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches