=htp #17051 fix multipart unmarshaller not surfacing header parsing errors on outer (part) stream
This commit is contained in:
parent
eb8d834246
commit
c2588b7db5
2 changed files with 4 additions and 3 deletions
|
|
@ -260,9 +260,10 @@ private[http] object BodyPartParser {
|
|||
}
|
||||
|
||||
sealed trait Output
|
||||
final case class BodyPartStart(headers: List[HttpHeader], createEntity: Source[Output, Unit] ⇒ BodyPartEntity) extends Output
|
||||
sealed trait PartStart extends Output
|
||||
final case class BodyPartStart(headers: List[HttpHeader], createEntity: Source[Output, Unit] ⇒ BodyPartEntity) extends PartStart
|
||||
final case class EntityPart(data: ByteString) extends Output
|
||||
final case class ParseError(info: ErrorInfo) extends Output
|
||||
final case class ParseError(info: ErrorInfo) extends PartStart
|
||||
|
||||
final case class Settings(
|
||||
maxHeaderNameLength: Int,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue