Ignore:
Timestamp:
05/05/09 14:55:10 (12 years ago)
Author:
asimon
Message:

error correction (ticket #537)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Security.Server/3.2/SecurityServerApplication.cs

    r1737 r1738  
    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);
    4749      string curServiceHost = "";
    4850      Uri uriTcp;
     
    5355      switch (svc) {
    5456        case Services.PermissionManager:
    55           if (securityManagerInstances.Length > 0) {
     57          if (permissionManagerInstances.Length > 0) {
    5658            uriTcp = new Uri("net.tcp://" + ipAddress + ":" + port + "/SecurityServer/");
    5759            serviceHost = new ServiceHost(permissionManagerInstances[0].GetType(), uriTcp);
     
    126128      StopService(Services.All);
    127129    }
    128   }
     130  }                                                                                     
    129131}
Note: See TracChangeset for help on using the changeset viewer.