Chris Heald created HTTPCLIENT-1509:
---------------------------------------
Summary: Increase DefaultHttpResponseParser buffer size
Key: HTTPCLIENT-1509
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1509
Project: HttpComponents HttpClient
Issue Type: Improvement
Components: HttpConn
Affects Versions: 4.3.3
Reporter: Chris Heald
Priority: Minor
DefaultHttpResponseParser allocates a CharArrayBuffer(128), which ends up
resulting in a 128-byte InputStream read. Due to the typical size of an HTTP
response's headers, this ends up doing tens of stream reads per document read.
Increasing the size of this buffer to something more traditional like 4096
substantially improved the performance of HttpClient in my high-load reads.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]