-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide opt-out mechansim for HTTP/2 content-length enforcement (#1353)
Motivation: We recently started strictly enforcing the content-length requirements as specified by https://tools.ietf.org/html/rfc7540#section-8.1.2.6. However not all h2/gRPC implementations have been updated and may violate this clause which results in rejected requests/responses. Modifications: - Add a system property io.servicetalk.http2.allowInvalidContentLength which allows opting out of enforcement of the content-length enforcement requirements. Result: System property exists to opt-out of content-length enforcement requirements. This option is temporary and will be removed in a future release!
- Loading branch information
1 parent
27b5ea5
commit 13d7f85
Showing
1 changed file
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters