I'm consistently seeing errors with APR/native and
TestNonBlockingAPI.testNonBlockingWrite

This works on Windows but fails on Linux and OSX. Failures always occur
with Socket.sendbb(socket, offset, long)

The sequence of events is:
~100 successful writes (9000 bytes at a time)
write returns 120002 (EAGAIN)
add socket to poller
poller indicates socket is available for write
~80 successful writes (mostly 9000 bytes at a time but the odd 2 bytes
and some ~500)
write returns 120002 (EAGAIN)
add socket to poller
poller indicates socket is available for write
one write
write returns error code

On OSX the error code is -32
On Linux the error code is -104

I could really do with some hints here.

I've been debugging this for days. I've found and fixed various problems
but this underlying problem remains.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to