=htc #17129 Preliminary fix until this is fixed with the new features from #16168

This commit is contained in:
Johannes Rudolph 2015-04-21 14:32:31 +02:00
parent 7b72fca3c2
commit d67b5823e6

View file

@ -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