David Daney wrote:
My new mauve test for the HTTP timeout patch I posed earlier this week
was failing miserably for me with jamvm/FC6-x86_64. I turns out the the
native socket code was slightly lacking. This patch fixes it up some.
I will commit both this patch and the HTTP timeout patch after another
round of testing and if no objections are raised.
2006-12-08 David Daney <[EMAIL PROTECTED]>
* native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
New method.
(Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
SocketTimeoutException if a blocking socket timesout.
(Java_gnu_java_nio_VMChannel_readScattering): Same.
(Java_gnu_java_nio_VMChannel_read__I): Same.
(Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
(Java_gnu_java_nio_VMChannel_connect6): Same.
Silence implies consent. Testing with mauve showed no regressions, so I
committed it.
David Daney