Message3136
I'm fairly sure that this bug is caused by a bug in java, relating to
DatagramPackets received through DatagramSockets created through
DatagramChannel.open().
I have reported the bug to Sun, but it may be a few days before they get
to review it and publish it.
I have attached the source of pure java server and client which
illustrates the issue.
The server can be run in one of two modes.
1. If no command line parameter is present, the DatagramSocket is
created through java.net, and the problem DOES NOT occur.
2. If a command line parameter "create_nio" is present, the
DatagramSocket is created through java.nio (as happens in the jython
socket module), and the problems occur.
I have noted this as a "Known issue" with the jython socket module, but
it cannot be fixed until the underlying bug in java is fixed. |
|
| Date |
User |
Action |
Args |
| 2008-04-08 15:59:33 | amak | set | spambayes_score: 0.0458075 -> 0.045807485 recipients:
+ amak, asterio |
| 2008-04-08 15:59:33 | amak | set | spambayes_score: 0.0458075 -> 0.0458075 messageid: <1207670373.27.0.489022012628.issue1018@psf.upfronthosting.co.za> |
| 2008-04-08 15:59:33 | amak | link | issue1018 messages |
| 2008-04-08 15:59:32 | amak | create | |
|