Bug #373
openissue with non-blocking select / read socket
0%
Description
http://forum.dcmtk.org/viewtopic.php?t=2133
=== Comment by Uli ===
There is no testcase ("happens sometimes"). This means we'll just have to blindly implement the suggested changes.
As for the changes: ioctrl() was tested on Windows and Linux to see if it read something. The old behaviour will be kept on all other systems. So the problem will only be solved on Windows and Linux and will continue to exist on other systems.
Updated by Andrew Chiw over 12 years ago
issue with non-blocking select / read socket
Description
http://forum.dcmtk.org/viewtopic.php?t=2133 === Kommentar Uli ===
Es gibt keinen Test-Case ("happens sometimes"). Das bedeutet, dass wir die vorgeschlagenen Änderungen einfach so einbauen müssten.
There is no testcase ("happens sometimes"). This means we'll just have to blindly implement the suggested changes.
Zu den Änderungen: Auf Windows und Linux wird per ioctl() geprüft, ob wirklich etwas zu lesen ist. Auf allen anderen Systemen wird das alte Verhalten beibehalten. Also, wenn überhaupt, ist das Problem nur auf Windows und Linux behoben und besteht auf allen anderen Systemen weiterhin.
As for the changes: ioctrl() was tested on Windows and Linux to see if it read something. The old behaviour will be kept on all other systems. So the problem will only be solved on Windows and Linux and will continue to exist on other systems.
Updated by Marco Eichelberg over 8 years ago
- Priority changed from High to Normal
- Target version set to 3.6.3
Updated by Jörg Riesmeier almost 7 years ago
- Description updated (diff)
- Category set to Library
Also see this recent forum posting: https://forum.dcmtk.org/viewtopic.php?f=1&t=4783
Updated by Marco Eichelberg almost 7 years ago
Forum post https://forum.dcmtk.org/viewtopic.php?f=1&t=4783 confirms that this bug is still present in DCMTK 3.6.3 and that the proposed fix still works.