We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug An HTTP2 DataFrame with pad_length=0 returns no payload
To Reproduce When unpacking a PaddedFrame with HTTP2_FLAG_PADDED, zero is a valid pad_length, however the calculation of the payload occurs using:
self.unpadded_data = self.data[1:-self.pad_length]
if pad_length is zero, this wipes out the frame's data
Expected behavior
self.unpadded_data = self.data[1:] if self.pad_length == 0 else self.data[1:-self.pad_length]
Details(please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
An HTTP2 DataFrame with pad_length=0 returns no payload
To Reproduce
When unpacking a PaddedFrame with HTTP2_FLAG_PADDED, zero is a valid pad_length, however the calculation of the payload occurs using:
if pad_length is zero, this wipes out the frame's data
Expected behavior
Details(please complete the following information):
The text was updated successfully, but these errors were encountered: