diff options
author | Loïc Hoguin <[email protected]> | 2023-12-07 16:45:30 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2023-12-07 16:45:30 +0100 |
commit | 0ce9696e5ee301d0e6791dd514d14c44e23c725a (patch) | |
tree | 335d7e541a6a91f19702a2e5c38eb0b089c61a5e | |
parent | 6bc6100bbd09b0318ed7523e30eae36b20bf28f2 (diff) | |
download | cowboy-0ce9696e5ee301d0e6791dd514d14c44e23c725a.tar.gz cowboy-0ce9696e5ee301d0e6791dd514d14c44e23c725a.tar.bz2 cowboy-0ce9696e5ee301d0e6791dd514d14c44e23c725a.zip |
Note that we won't implement the HTTP/2 PRIORITY mechanism
-rw-r--r-- | test/rfc7540_SUITE.erl | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/test/rfc7540_SUITE.erl b/test/rfc7540_SUITE.erl index de0017c..ec3f9e8 100644 --- a/test/rfc7540_SUITE.erl +++ b/test/rfc7540_SUITE.erl @@ -12,6 +12,12 @@ %% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF %% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +%% Note that Cowboy does not implement the PRIORITY mechanism. +%% Everyone has been moving away from it and it is widely seen +%% as a failure. Setting priorities has been counter productive +%% with regards to performance. Clients have been moving away +%% from the mechanism. + -module(rfc7540_SUITE). -compile(export_all). -compile(nowarn_export_all). @@ -483,14 +489,6 @@ http_upgrade_client_preface_settings_ack_timeout(Config) -> %% important, an OPTIONS request can be used to perform the upgrade to %% HTTP/2, at the cost of an additional round trip. -%% @todo If we ever handle priority, we need to check that the initial -%% HTTP/1.1 request has default priority. The relevant RFC quote is: -%% -%% 3.2 -%% The HTTP/1.1 request that is sent prior to upgrade is assigned a -%% stream identifier of 1 (see Section 5.1.1) with default priority -%% values (Section 5.3.5). - http_upgrade_response(Config) -> doc("A response must be sent to the initial HTTP/1.1 request " "after switching to HTTP/2. The response must use " |