This commit is contained in:
parent
7b72fca3c2
commit
d67b5823e6
1 changed files with 1 additions and 1 deletions
|
|
@ -40,10 +40,10 @@ class HttpExt(config: Config)(implicit system: ActorSystem) extends akka.actor.E
|
|||
|
||||
val connections: Source[StreamTcp.IncomingConnection, Future[StreamTcp.ServerBinding]] =
|
||||
StreamTcp().bind(endpoint, backlog, options, effectiveSettings.timeouts.idleTimeout)
|
||||
val layer = serverLayer(effectiveSettings, log)
|
||||
|
||||
connections.map {
|
||||
case StreamTcp.IncomingConnection(localAddress, remoteAddress, flow) ⇒
|
||||
val layer = serverLayer(effectiveSettings, log)
|
||||
IncomingConnection(localAddress, remoteAddress, layer join flow)
|
||||
}.mapMaterialized { tcpBindingFuture ⇒
|
||||
import system.dispatcher
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue