response.setBufferSize() has no effect when using the response writer

Solution Unverified - Updated -

Issue

  • We use response.setBufferSize() to increase the response buffer. It seems to have no effect though when using the response writer; the response is still committed at the same point as when using the default buffer size.
  • We are trying to configure http response buffer size for JBoss server (domain mode), but we couldn't find a proper configuration parameter for that. The goal is to set the size of response to be written before it is flushed to the client side.

Environment

  • JBoss Enterprise Application Platform (EAP) 6.4.0 and earlier
  • JBoss Enterprise Web Server (EWS) 2.0.1 and earlier
  • Tomcat 7.0.47 and earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content