DClient timeout being ignored in test?

39 views
Skip to first unread message

Simon

unread,
Apr 21, 2014, 6:18:31 PM4/21/14
to ruby-...@googlegroups.com

When I run:

pacsCENTRO = DClient.new("192.168.4.32", 11112, {host_ae: "PACSCENTRO", timeout: 2}).test

with an offline server, I expected the result to be false after two seconds if there is no response from the server. Instead, the process hangs indefinitely.

Am I doing this wrong?

Christoffer Lervåg

unread,
Apr 22, 2014, 9:04:49 AM4/22/14
to ruby-...@googlegroups.com
Hi Simon!

Thanks for reporting this issue. It seems to have been a bug in the ruby-dicom network code which has been fixed in the github master branch.

For those interested please follow up on the issue here:

Best regards,
Chris


--
You received this message because you are subscribed to the Google Groups "ruby-dicom" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-dicom+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages