Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/08/09 14:09:41 (15 years ago)
Author:
mbecirov
Message:

#586 fixed wcf binding

Location:
trunk/sources/HeuristicLab.Security.Server/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Security.Server/3.2/HeuristicLab.Security.Server-3.2.csproj

    r1739 r1766  
    9696  </ItemGroup>
    9797  <ItemGroup>
     98    <ProjectReference Include="..\..\HeuristicLab.Hive.Contracts\3.2\HeuristicLab.Hive.Contracts-3.2.csproj">
     99      <Project>{134F93D7-E7C8-4ECD-9923-7F63259A60D8}</Project>
     100      <Name>HeuristicLab.Hive.Contracts-3.2</Name>
     101    </ProjectReference>
    98102    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj">
    99103      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
  • trunk/sources/HeuristicLab.Security.Server/3.2/SecurityServerApplication.cs

    r1738 r1766  
    2323    private DiscoveryService discService = new DiscoveryService();
    2424    private Dictionary<string, ServiceHost> runningServices = new Dictionary<string, ServiceHost>();
    25     private NetTcpBinding binding = new NetTcpBinding(SecurityMode.None, true);
     25    private NetTcpBinding binding = (NetTcpBinding)HeuristicLab.Hive.Contracts.WcfSettings.GetBinding();
    2626
    2727    private enum Services {
     
    4545
    4646    private String StartService(Services svc, IPAddress ipAddress, int port) {
    47       binding.MaxReceivedMessageSize = 5000000;
    48       binding.SendTimeout = new TimeSpan(0, 0, 0, 0, 20);
    4947      string curServiceHost = "";
    5048      Uri uriTcp;
Note: See TracChangeset for help on using the changeset viewer.