Streamed implementation. Limited input buffer.
[LanSpider.git] / src / Indexer / app.config
blob15d679f22df4e0655a6a148a25ef80656b761e27
1 <?xml version="1.0" encoding="utf-8" ?>\r
2 <configuration>\r
3     <system.serviceModel>\r
4         <bindings>\r
5             <netTcpBinding>\r
6                 <binding name="tcpShareDiscovery" closeTimeout="00:01:00" openTimeout="00:01:00"\r
7                     receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false"\r
8                     transferMode="Streamed" transactionProtocol="OleTransactions"\r
9                     hostNameComparisonMode="StrongWildcard" listenBacklog="10"\r
10                     maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10"\r
11                     maxReceivedMessageSize="65536">\r
12                     <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"\r
13                         maxBytesPerRead="4096" maxNameTableCharCount="16384" />\r
14                     <reliableSession ordered="true" inactivityTimeout="00:10:00"\r
15                         enabled="false" />\r
16                     <security mode="Transport">\r
17                         <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />\r
18                         <message clientCredentialType="Windows" />\r
19                     </security>\r
20                 </binding>\r
21             </netTcpBinding>\r
22         </bindings>\r
23         <client>\r
24             <endpoint address="net.tcp://localhost:8731/ShareDiscoveryService"\r
25                 binding="netTcpBinding" bindingConfiguration="tcpShareDiscovery"\r
26                 contract="ShareDiscoveryReference.IShareDiscoveryService"\r
27                 name="tcpShareDiscovery">\r
28                 <identity>\r
29                     <dns value="localhost" />\r
30                 </identity>\r
31             </endpoint>\r
32         </client>\r
33     </system.serviceModel>\r
34 </configuration>