Behavior of receive-str on socket timeouts.
ToBeReplaced opened this issue · 4 comments
ToBeReplaced commented
Presently, receive-str
will raise a NullPointerException
if a timeout occurs after (.setReceiveTimeOut socket timeout)
. I believe that it should return nil
. What is the correct behavior?
trevorbernard commented
That's better than a NullPointerException
trevorbernard commented
@ToBeReplaced Do you have a stacktrace?
trevorbernard commented
Just merged in a fix where it returns nil and added set-receive-timeout to the zmq.clj
ToBeReplaced commented
Thanks! I had just gotten a test case ready for you.