mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-19 18:14:44 +00:00
Rebump scodec-akka due to fix
This commit is contained in:
parent
63311e4e88
commit
7af6f64429
|
|
@ -8,8 +8,8 @@ lazy val commonSettings = Seq(
|
|||
"com.typesafe.akka" %% "akka-actor" % "2.4.4",
|
||||
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
|
||||
"org.specs2" %% "specs2-core" % "3.8.3" % "test",
|
||||
"org.scodec" %% "scodec-core" % "1.9.0",
|
||||
"org.scodec" %% "scodec-akka" % "0.1.0",
|
||||
"org.scodec" %% "scodec-core" % "1.10.0",
|
||||
"org.scodec" %% "scodec-akka" % "0.2.0",
|
||||
"net.java.dev.jna" % "jna" % "4.2.1",
|
||||
"com.typesafe.akka" %% "akka-slf4j" % "2.4.4",
|
||||
"ch.qos.logback" % "logback-classic" % "1.1.7",
|
||||
|
|
|
|||
|
|
@ -41,8 +41,7 @@ class UdpListener(nextActorProps : Props, nextActorName : String, address : Inet
|
|||
def ready(socket: ActorRef): Receive = {
|
||||
case SendPacket(msg, to) =>
|
||||
bytesSent += msg.size
|
||||
// XXX: revert back to msg.toByteString when scodec-akka is unbroken... (this is doing a copy)
|
||||
socket ! Udp.Send(ByteString(msg.toByteBuffer), to)
|
||||
socket ! Udp.Send(msg.toByteString, to)
|
||||
case Udp.Received(data, remote) =>
|
||||
bytesRecevied += data.size
|
||||
nextActor ! ReceivedPacket(data.toByteVector, remote)
|
||||
|
|
|
|||
Loading…
Reference in a new issue