harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6580) [classlib][nio] SocketChannel.write eat more bytes than expected.
Date Tue, 13 Jul 2010 12:38:50 GMT

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

Tim Ellison resolved HARMONY-6580.
----------------------------------

    Fix Version/s: 5.0M15
       Resolution: Fixed

Thanks Charles, good catch on this one!

Patch applied to NIO module at repo revision r963690.

I modified the test case slightly to use a system provided port during the bind rather than
using the deprecated local address fields, this will make the test more stable.  I also dropped
the send buffer size suggestion to potentially reduce mem usage.

Please verify the patch was applied as you expected.



> [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
>            Assignee: Tim Ellison
>             Fix For: 5.0M15
>
>         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