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

Oleg Kalnichevski resolved HTTPCLIENT-837.
------------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.1.1)
                   4.0 Beta 3

Fixed in 3.x and trunk. Many thanks for reporting the bug. Please note, though, 
it is very unlikely there will ever be a new release off the 3.x branch.

Oleg

> 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: Critical
>             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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to