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

   **[Roy 
Hashimoto](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rhashimoto)**
 opened 
**[HTTPCORE-597](https://issues.apache.org/jira/browse/HTTPCORE-597?redirect=false)**
 and commented
   
   AsyncEntityProducers.createText() calls this constructor:
   
   AbstractCharAsyncEntityProducer(0, 4096, contentType)
   
   
https://github.com/apache/httpcomponents-core/blob/1a3aff635fa20101373412d1b56ae1b4bd96de1f/httpcore5/src/main/java/org/apache/hc/core5/http/nio/entity/AsyncEntityProducers.java#L118
   
   The constructor asserts that the first argument must be strictly positive:
   
   
https://github.com/apache/httpcomponents-core/blob/b6b41e5a9284293e5c5ed5af5d8528c40c92cd43/httpcore5/src/main/java/org/apache/hc/core5/http/nio/entity/AbstractCharAsyncEntityProducer.java#L69
   
    
   
   
   ---
   
   **Affects:** 5.0-beta8
   


-- 
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