=htp Fixes early error also being signalled as error via event

This commit is contained in:
Konrad Malawski 2015-11-19 17:19:45 +01:00
parent f2003cfe23
commit 5b3c04572f
10 changed files with 235 additions and 55 deletions

View file

@ -3,6 +3,8 @@
*/
package akka.stream.impl
import java.util.concurrent.atomic.AtomicInteger
import akka.actor._
import akka.stream._
import akka.stream.impl.AcknowledgePublisher.{ Ok, Rejected }
@ -96,7 +98,8 @@ private[akka] final class ActorPublisherSource[Out](props: Props, val attributes
(akka.stream.actor.ActorPublisher[Out](publisherRef), publisherRef)
}
override protected def newInstance(shape: SourceShape[Out]): SourceModule[Out, ActorRef] = new ActorPublisherSource[Out](props, attributes, shape)
override protected def newInstance(shape: SourceShape[Out]): SourceModule[Out, ActorRef] =
new ActorPublisherSource[Out](props, attributes, shape)
override def withAttributes(attr: Attributes): Module = new ActorPublisherSource(props, attr, amendShape(attr))
}