Skip to content

Commit

Permalink
Merge pull request jbrisbin#22 from rabbitmq/rabbitmq-server-260
Browse files Browse the repository at this point in the history
Use Ranch for TCP acceptor pool
  • Loading branch information
michaelklishin committed Nov 19, 2015
2 parents a637e9e + f5cf355 commit 6b4ec7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/amqp_network_connection.erl
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,8 @@ do_connect({Addr, Family},
orddict:from_list(SslOpts0)))),
case ssl:connect(Sock, SslOpts) of
{ok, SslSock} ->
RabbitSslSock = #ssl_socket{ssl = SslSock, tcp = Sock},
try_handshake(AmqpParams, SIF,
State#state{sock = RabbitSslSock});
State#state{sock = SslSock});
{error, _} = E ->
E
end;
Expand Down

0 comments on commit 6b4ec7f

Please sign in to comment.