= str - #15618 - Renames Flow and Duct 'tee' operation to 'broadcast'
This commit is contained in:
parent
2ccf028a94
commit
6c7dc10a50
11 changed files with 21 additions and 21 deletions
|
|
@ -42,7 +42,7 @@ private[http] class HttpClientPipeline(effectiveSettings: ClientConnectionSettin
|
|||
|
||||
val requestSubscriber =
|
||||
Duct[(HttpRequest, Any)]
|
||||
.tee(contextBypassSubscriber)
|
||||
.broadcast(contextBypassSubscriber)
|
||||
.map(requestMethodByPass)
|
||||
.transform(responseRendererFactory.newRenderer)
|
||||
.flatten(FlattenStrategy.concat)
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ private[http] class HttpServerPipeline(settings: ServerSettings,
|
|||
.transform(rootParser.copyWith(warnOnIllegalHeader))
|
||||
.splitWhen(_.isInstanceOf[MessageStart])
|
||||
.headAndTail(materializer)
|
||||
.tee(applicationBypassSubscriber)
|
||||
.broadcast(applicationBypassSubscriber)
|
||||
.collect {
|
||||
case (RequestStart(method, uri, protocol, headers, createEntity, _), entityParts) ⇒
|
||||
val effectiveUri = HttpRequest.effectiveUri(uri, headers, securedConnection = false, settings.defaultHostHeader)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue