Shang Xiang created HTTPCORE-772: ------------------------------------ Summary: 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
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