db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2747) Reply incorrectly handles read() returning -1
Date Mon, 28 Jul 2008 21:02:31 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617543#action_12617543

Kathey Marsden commented on DERBY-2747:

I want to finally commit this change but I was wondering Kurt if you know how to invoke the
message that has the wrong number of bytes.  It would be good to check in a test case along
with the change.


> Reply incorrectly handles read() returning -1
> ---------------------------------------------
>                 Key: DERBY-2747
>                 URL: https://issues.apache.org/jira/browse/DERBY-2747
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions:
>            Reporter: Kurt Huwig
>            Priority: Minor
>         Attachments: patch-2747-1.diff, patch-2747-2.diff
> If java/client/org/apache/derby/client/net/Reply.java encounters a EOF, i.e. reads -1
then it adds this value to the number of bytes read and prints an error message which reads
"-1 bytes read".

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

View raw message