Skip to content

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.
  • Follow Following
    • Blogging at the speed of thought
    • Already have a WordPress.com account? Log in now.
    • Blogging at the speed of thought
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar