Skip to content

Commit

Permalink
Merge branch 'scala-steward-update/finagle-http-18.11.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
vkostyukov committed Nov 14, 2018
2 parents fdf8987 + 45e4ead commit cb7da43
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ lazy val buildSettings = Seq(
crossScalaVersions := Seq("2.11.12", "2.12.7")
)

lazy val twitterVersion = "18.10.0"
lazy val twitterVersion = "18.11.0"
lazy val circeVersion = "0.10.1"
lazy val circeIterateeVersion = "0.11.0"
lazy val shapelessVersion = "2.3.3"
2 changes: 1 addition & 1 deletion iteratee/src/main/scala/io/finch/iteratee/package.scala
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ package object iteratee extends IterateeInstances {
private[finch] def enumeratorFromReader[F[_] : Effect](reader: Reader[Buf]): Enumerator[F, Buf] = {
def rec(reader: Reader[Buf]): Enumerator[F, Buf] = {
Enumerator.liftM[F, Option[Buf]] {
futureToEffect(reader.read(Int.MaxValue))
futureToEffect(reader.read())
}.flatMap {
case None => Enumerator.empty[F, Buf]
case Some(buf) => Enumerator.enumOne[F, Buf](buf).append(rec(reader))

0 comments on commit cb7da43

Please sign in to comment.