Skip to content
Unknown's avatar

Blogging at the speed of thought

All things backend

  • Home
  • Questions?

Category: HTTP

Configuring chunk size in Apache HttpClient 4.3.x

The default chunk size in Apache HttpClient 4.3 is set to 2048 bytes. There is no easy way to customize the chunk size in the latest Apache HttpClient release. It looks like the only approach is to implement a custom ClientConnectionFactory that allows to override the default chunk size. Here is an example. https://gist.github.com/aruld/8044989

Arul Dhesiaseelan HTTP, Java Leave a comment December 19, 2013August 19, 2018 1 Minute
Blog at WordPress.com.
  • Subscribe Subscribed
    Blogging at the speed of thought

    Have a WordPress.com account? Log in now.

  • Blogging at the speed of thought
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar