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

   **[Carter 
Kozak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ckozak)** 
opened 
**[HTTPCORE-645](https://issues.apache.org/jira/browse/HTTPCORE-645?redirect=false)**
 and commented
   
   Currently the default value is 2 KiB, which is relatively small as discussed 
in https://github.com/apache/httpcomponents-core/pull/206#discussion_r462154831
   
   Creating this ticket to discuss using a larger default value. The drawback 
to increasing the chunk size is that the chunk cache buffer is created for each 
request entity stream unlike the session buffer which is associated with a 
potentially persistent connection. This will result in higher allocation 
pressure for chunked request heavy uses, especially when the chunked request 
body may be much smaller than the chunk hint size. In order to work around 
this, the connection may create a reusable buffer based on the chunk hint which 
is reused across requests.
   
   Open questions:
   Should we increase the default chunk size?
   What value should we use?
   
   
   ---
   
   **Affects:** 5.0.1
   


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