Skip to content

Commit

Permalink
net: Update S2N stream to work in microLB, set as default
Browse files Browse the repository at this point in the history
  • Loading branch information
fwsGonzo committed Jan 31, 2019
1 parent 568c6fd commit 423de44
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions micro_lb/autoconf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,14 @@ namespace microLB
{
assert(clients.HasMember("key") && "TLS-enabled microLB must also have key");
// open for load balancing over TLS
/*
balancer->open_for_ossl(netinc, CLIENT_PORT,
clients["certificate"].GetString(),
clients["key"].GetString());
*/
balancer->open_for_s2n(netinc, CLIENT_PORT,
clients["certificate"].GetString(),
clients["key"].GetString());
}
else {
// open for TCP connections
Expand Down

0 comments on commit 423de44

Please sign in to comment.