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] Updated: (HARMONY-6232) [classlib][luni] sendfile should not return -1 when EAGAIN is fired.
Date Mon, 15 Jun 2009 08:47:07 GMT

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

Li Jing Qin updated HARMONY-6232:
---------------------------------

    Attachment: SendFileServer.java
                SendFileClient.java
                MySendFileTest.java

Java file for test.

> [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: 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.


Mime
View raw message