=htp address review feedback on JSON streaming

This commit is contained in:
Konrad Malawski 2016-07-29 16:29:50 +02:00
parent bc536be32c
commit 6562ddd2df
13 changed files with 114 additions and 22 deletions

View file

@ -143,7 +143,7 @@ private[akka] class JsonObjectParser(maximumObjectLength: Int = Int.MaxValue) {
isStartOfEscapeSequence = false
pos += 1
} else {
throw new FramingException(s"Invalid JSON encountered as position [$pos] of [$buffer]")
throw new FramingException(s"Invalid JSON encountered at position [$pos] of [$buffer]")
}
@inline private final def insideObject: Boolean =