harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Jing Qin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6232) [classlib][luni] sendfile should not return -1 when EAGAIN is fired.
Date Wed, 17 Jun 2009 09:36:07 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720585#action_12720585

Li Jing Qin commented on HARMONY-6232:

OOPS. I found this patch may failed on NOT AIX, NOT ZOS and NOT FREEBSD machine. I will change
it ASAP.

> [classlib][luni] sendfile should not return -1 when EAGAIN is fired.
> --------------------------------------------------------------------
>                 Key: HARMONY-6232
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6232
>             Project: Harmony
>          Issue Type: Bug
>         Environment: linux
>            Reporter: Li Jing Qin
>         Attachments: HARMONY-6232.diff, MySendFileTest.java, SendFileClient.java, SendFileServer.java,
> When transferring file with NONBLOCKING mode, an EAGAIN will be returned by errno. This
is because two ends is related to the sending file. If one end is much faster than the other,
this end will block though setting NONBLOCKING. So we should return the actually bytes we
have transfered and ignore the EAGAIN.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message