Add test and merge #1879
@monojenkins merge
int max_conn;
OptionalReliableSession reliable_session;
NetTcpSecurity security;
- XmlDictionaryReaderQuotas reader_quotas;
+ XmlDictionaryReaderQuotas reader_quotas
+ = new XmlDictionaryReaderQuotas ();
bool transaction_flow;
TransactionProtocol transaction_protocol;
TcpTransportBindingElement transport;
Assert.IsTrue (Foo.JoinCalled, "#2");
}
+ [Test]
+ public void ReaderQuotasDefault_Bug15153 ()
+ {
+ NetTcpBinding binding = new NetTcpBinding(SecurityMode.None);
+ binding.ReaderQuotas.MaxStringContentLength = 8192;
+ }
+
[ServiceContract]
public interface IFoo
{