jira-importer opened a new issue, #1168:
URL: https://github.com/apache/httpcomponents-core/issues/1168

   **[Carter 
Kozak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ckozak)** 
opened 
**[HTTPCORE-641](https://issues.apache.org/jira/browse/HTTPCORE-641?redirect=false)**
 and commented
   
   The blocking client checks for an out-of-order response every 8kb, however 
content-length requests may write large buffers that aren't chunked before 
being written to the socket, allowing them to bypass this protection.
   Should the OutputStream which checks for early responses also split large 
writes in order to check more frequently?
   
   Note that I don't think chunked encoding is impacted due the the (default) 2 
KiB chunk size.
   
   Fixing this may prevent socket exceptions, but could come at a slight 
performance cost due to more frequent 1ms reads.
   
   
   ---
   
   **Affects:** 5.0.1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to