harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6232) [classlib][luni] sendfile should not return -1 when EAGAIN is fired.
Date Wed, 08 Jul 2009 01:45:14 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Alexey Varlamov updated HARMONY-6232:

    Component/s: Classlib

> [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
>          Components: Classlib
>         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