hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-220) IdentityDecoder fails to detect end of stream when using file channels
Date Sat, 06 Mar 2010 07:25:27 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842216#action_12842216
] 

Asankha C. Perera commented on HTTPCORE-220:
--------------------------------------------

Thanks Oleg, I've now updated the release notes



> IdentityDecoder fails to detect end of stream when using file channels
> ----------------------------------------------------------------------
>
>                 Key: HTTPCORE-220
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-220
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.1-alpha1
>            Reporter: Asankha C. Perera
>            Assignee: Asankha C. Perera
>             Fix For: 4.1-beta1
>
>
> The IdentityDecoder which checks for "this.channel.isOpen()" to detect the EOF when using
file channels does not detect a remote socket closure. The only possibility is by reading
from the channel, as  the "dst.transferFrom(this.channel, position, count)" only returns 0
or
> the number of bytes read - and never -1. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message