jira-importer opened a new issue, #1080:
URL: https://github.com/apache/httpcomponents-core/issues/1080

   **[Ildar 
Safarov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=isafarov)**
 opened 
**[HTTPCORE-174](https://issues.apache.org/jira/browse/HTTPCORE-174?redirect=false)**
 and commented
   
   Position is modificated in read method inside cycle and explicitly after 
cycle. I think patch should look like this:
   
   Index: ContentLengthInputStream.java
   
   ---
   
   --- ContentLengthInputStream.java    (revision 700438)
   +++ ContentLengthInputStream.java    (working copy)
   @@ -214,7 +214,6 @@
   count += l;
   remaining -= l;
   }
   
------------------------------------------------------------------------------------------------------------------------------------------------------
   
       this.pos += count;
       return count;
   
   }
   }
   
   
   
   ---
   
   **Affects:** 4.0-beta2
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to