hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (HTTPCORE-413) Expose chunked encoding chunk size as a configuration option
Date Wed, 28 Oct 2015 10:05:27 GMT

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

Oleg Kalnichevski moved HTTPCLIENT-1694 to HTTPCORE-413:

    Affects Version/s:     (was: 4.4.1)
          Component/s:     (was: HttpClient)
             Workflow: classic default workflow  (was: Default workflow, editable Closed status)
                  Key: HTTPCORE-413  (was: HTTPCLIENT-1694)
              Project: HttpComponents HttpCore  (was: HttpComponents HttpClient)

> Expose chunked encoding chunk size as a configuration option
> ------------------------------------------------------------
>                 Key: HTTPCORE-413
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-413
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.4.4
>            Reporter: Robert Veitch
>            Priority: Trivial
>             Fix For: 5.0
> 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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message