Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: akka/alpakka
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 235f238027b0d7bd5166736c6a346269a00fbf40
Choose a base ref
..
head repository: akka/alpakka
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5932b0c29de8a003ce71a863fa26eba96c6e0a28
Choose a head ref
Showing with 4 additions and 2 deletions.
  1. +4 −2 ...domain-socket/src/main/scala/akka/stream/alpakka/unixdomainsocket/scaladsl/UnixDomainSocket.scala
Original file line number Diff line number Diff line change
@@ -168,11 +168,13 @@ object UnixDomainSocket extends ExtensionId[UnixDomainSocket] with ExtensionIdPr
val pendingResult = queue.offer(ByteString(buffer))
pendingResult.onComplete(_ => sel.wakeup())
sendReceiveContext.receive = PendingReceiveAck(queue, buffer, pendingResult)
key.interestOps(key.interestOps() & ~SelectionKey.OP_READ)

} else {
key.interestOps(key.interestOps() & ~SelectionKey.OP_READ)
queue.complete()
}

key.interestOps(key.interestOps() & ~SelectionKey.OP_READ)

case PendingReceiveAck(receiveQueue, receiveBuffer, pendingResult) if pendingResult.isCompleted =>
pendingResult.value.get match {
case Success(QueueOfferResult.Enqueued) =>