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

   **[Robert 
Veitch](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rtveitch)** 
opened 
**[HTTPCORE-413](https://issues.apache.org/jira/browse/HTTPCORE-413?redirect=false)**
 and commented
   
   The chunk size to use when chunked encoding is enabled is currently 
hardcoded in BHttpConnectionBase.createOutputStream as 2048 bytes. It would be 
nice to be able to expose this configuration option for  performance testing 
against varying chunk sizes.
   
   Currently to achieve this, I would have to do the following:
   1) Create a LoggingManagedHttpClientConnection subclass and override the 
createOutputStream method inherited from BHttpConnectionBase to use a 
configurable chunk size
   
   2) Create a ManagedHttpClientConnectionFactory subclass and 
override/re-implement the create method to instantiate the subclass created in 
1) rather than LoggingManagedHttpClientConnection.
   
   
   
   ---
   
   **Affects:** 4.4.4
   


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