[ https://issues.apache.org/jira/browse/HTTPCORE-772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-772. ---------------------------------------- Fix Version/s: 5.3.2 5.4-alpha1 Resolution: Fixed Fixed in master and 5.3.x. Oleg > Continuation frame doesn't copy payload when receiving large headers > -------------------------------------------------------------------- > > Key: HTTPCORE-772 > URL: https://issues.apache.org/jira/browse/HTTPCORE-772 > Project: HttpComponents HttpCore > Issue Type: Bug > Components: HttpCore NIO > Affects Versions: 5.3.1 > Reporter: Shang Xiang > Priority: Major > Fix For: 5.3.2, 5.4-alpha1 > > > h1. 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. > h1. 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. > h1. 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. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org