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

   **[Shang 
Xiang](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cooltomatos)**
 opened 
**[HTTPCORE-772](https://issues.apache.org/jira/browse/HTTPCORE-772?redirect=false)**
 and commented
   
   # Expected Behavior
   
   When receiving large headers, the payloads of several frames are copied into 
the `Continuation` object and then the headers are decoded in one go once the 
`END_HEADERS` frame is received.
   
   # Observed Behavior
   
   The `Continuation::copyPayload` method updates the underneath array of its 
`headerBuffer` but never updates the pointer. Therefore the copying action is 
of no effect and eventually the headers cannot be decoded. 
   
   # Reproduction
   
   Having the server respond many headers with large values such that they were 
split into multiple frames. 
   
   The client will not be able to receive the response due to failure to decode 
the headers.
   
   
   ---
   
   **Affects:** 5.3.1
   
   **Backported to:** 
[5.3.2](https://github.com/apache/httpcomponents-core/milestone/97?closed=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