hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-837) Wire produces invalid log skipping zero bytes in certain cases
Date Mon, 23 Mar 2009 20:11:50 GMT

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

Oleg Kalnichevski updated HTTPCLIENT-837:
-----------------------------------------

    Component/s: HttpConn
       Priority: Minor  (was: Critical)

> Wire produces invalid log skipping zero bytes in certain cases
> --------------------------------------------------------------
>
>                 Key: HTTPCLIENT-837
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-837
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpConn
>            Reporter: Kirill Safonov
>            Priority: Minor
>             Fix For: 4.0 Beta 3
>
>
> WireLogInputStream class line 82 check if the byte returned is not -1 meaning end of
stream. But the condition is wrong in case if this byte is 0, it should look like
> if (l != -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