h2spec | A conformance testing tool for HTTP/2 implementation | HTTP library
kandi X-RAY | h2spec Summary
kandi X-RAY | h2spec Summary
h2spec is a conformance testing tool for HTTP/2 implementation. This tool is compliant with RFC 7540 (HTTP/2) and RFC 7541 (HPACK).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of h2spec
h2spec Key Features
h2spec Examples and Code Snippets
Community Discussions
Trending Discussions on h2spec
QUESTION
I've resorted to stackoverflow becase AWS doesn't provide technical support for free tiers.
Someone reported an issue using httpx, the ruby HTTP client library I maintain: https://gitlab.com/honeyryderchuck/httpx/issues/64
The report came after a recent upgrade to improve HTTP/2 spec compliance in the parser. Although the library now passes the h2spec, there seem to be legitimate issues requesting from cloudfront, due to an apparent part of the spec they don't seem to comply with: when a flow control window over 2 ** 31 - 1 is advertised, the sender must not allow it and return a flow control error.
Is it correct?
...ANSWER
Answered 2019-Nov-19 at 00:30You are correct that the flow control window cannot exceed 2^31-1, as indicated in the specification.
The initial flow control window is 65535, not 65536 as sent from Cloudfront, so the subsequent enlargement of the flow control window by 2147418112 yields 2^31 which is off-by-one too big for the flow control window.
Your client correctly sends a GO_AWAY with error FLOW_CONTROL_ERROR.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install h2spec
To build from source, you need to install Go and export GO111MODULE=on first.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page