Merge branch 'master' of github.com:akka/akka
This commit is contained in:
commit
508b108afc
1 changed files with 2 additions and 1 deletions
|
|
@ -206,7 +206,8 @@ private[zeromq] class ConcurrentSocketActor(params: Seq[SocketOption]) extends A
|
|||
}
|
||||
result match {
|
||||
case null ⇒
|
||||
if (currentFrames.isEmpty) currentFrames
|
||||
if (socket.hasReceiveMore) receiveMessage(mode, currentFrames)
|
||||
else if (currentFrames.isEmpty) currentFrames
|
||||
else throw new IllegalStateException("no more frames available while socket.hasReceivedMore==true")
|
||||
case bytes ⇒
|
||||
val frames = currentFrames :+ Frame(if (bytes.length == 0) noBytes else bytes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue