fix one case of unguarded Option.get in UDP remoting

This commit is contained in:
Roland 2013-06-02 22:18:12 +02:00
parent 2fed5ac4f3
commit d79e768b3f

View file

@ -97,7 +97,8 @@ class NettyTransportSettings(config: Config) {
val SendBufferSize: Option[Int] = optionSize("send-buffer-size")
val ReceiveBufferSize: Option[Int] = optionSize("receive-buffer-size")
val ReceiveBufferSize: Option[Int] = optionSize("receive-buffer-size") requiring (s
s.isDefined || TransportMode != Udp, "receive-buffer-size must be specified for UDP")
val MaxFrameSize: Int = getBytes("maximum-frame-size").toInt requiring (
_ >= 32000,