removes a blocking InetSocketAddress call with createUnresolved #21149
This commit is contained in:
parent
90aba99340
commit
6021e00a15
1 changed files with 1 additions and 1 deletions
|
|
@ -183,5 +183,5 @@ final class Tcp(system: ExtendedActorSystem) extends akka.actor.Extension {
|
|||
* It represents a prospective TCP client connection to the given endpoint.
|
||||
*/
|
||||
def outgoingConnection(host: String, port: Int): Flow[ByteString, ByteString, Future[OutgoingConnection]] =
|
||||
outgoingConnection(new InetSocketAddress(host, port))
|
||||
outgoingConnection(InetSocketAddress.createUnresolved(host, port))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue