Merge pull request #1849 from akka/wip-3688-soreuseaddress-√
+act #3688 - Calls bind _after_ all pre-connect-hooks
This commit is contained in:
commit
3231bb3729
1 changed files with 1 additions and 1 deletions
|
|
@ -30,8 +30,8 @@ private[io] class TcpOutgoingConnection(_tcp: TcpExt,
|
|||
|
||||
context.watch(commander) // sign death pact
|
||||
|
||||
localAddress.foreach(channel.socket.bind)
|
||||
options.foreach(_.beforeConnect(channel.socket))
|
||||
localAddress.foreach(channel.socket.bind)
|
||||
channelRegistry.register(channel, 0)
|
||||
timeout foreach context.setReceiveTimeout //Initiate connection timeout if supplied
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue