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-6580) [classlib][nio] SocketChannel.write eat more bytes than expected.
Date Tue, 13 Jul 2010 09:07:50 GMT

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

Li Jing Qin updated HARMONY-6580:
---------------------------------

    Attachment: HARMONY-6580.diff

The test case is: Given a very big byte buffer which will not been sent totally by the channel,
the remaining bytes calculation is wrong, because the remaining() will always return 0 after
we set the position to the limit.

> [classlib][nio] SocketChannel.write eat more bytes than expected.
> -----------------------------------------------------------------
>
>                 Key: HARMONY-6580
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6580
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Li Jing Qin
>         Attachments: HARMONY-6580.diff
>
>
> SocketChannel fail to compute the right bytesRemaining. This cause eating more bytes
from the buffer than expected.

-- 
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