From 6ed0e40ee2bf9d801daf2bae5dafa3a29bf9e76f Mon Sep 17 00:00:00 2001 From: 0x676e67 Date: Sun, 11 Aug 2024 11:27:42 +0800 Subject: [PATCH] Merge patch (#5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add a setter for header_table_size * Include a test for setting header_table_size * Fix formatting * Switch pseudo header order to mimic chrome * support chrome/okhttp impersonate * deps(http): bump version to v0.2.11 * feat(header): support safari header pseudo order * Send frames based on custom configuration * Revert "deps(http): bump version to v0.2.11" This reverts commit 7882ee95b58275200863ce15ece74983ec9c76f3. * deps(http): bump version to v0.2.11 * bump version to v0.4.2 * fix: streams awaiting capacity lockout (#730) (#734) This PR changes the the assign-capacity queue to prioritize streams that are send-ready. This is necessary to prevent a lockout when streams aren't able to proceed while waiting for connection capacity, but there is none. Closes /~https://github.com/hyperium/hyper/issues/3338 Co-authored-by: dswij * v0.3.23 * streams: limit error resets for misbehaving connections This change causes GOAWAYs to be issued to misbehaving connections which for one reason or another cause us to emit lots of error resets. Error resets are not generally expected from valid implementations anyways. The threshold after which we issue GOAWAYs is tunable, and will default to 1024. * Prepare v0.3.24 * perf: optimize header list size calculations (#750) This speeds up loading blocks in cases where we have many headers already. * bump version to v 0.4.3 * deps(http): v0.2 * Fix header order * Optimize pseudo-header sort * Setting static headers * feat(frame): Passing values ​​to solve pseudo order * Add headers priority * Fix default flag * Project rename to `h2-patch` --------- Co-authored-by: 4JX <79868816+4JX@users.noreply.github.com> Co-authored-by: Sean McArthur Co-authored-by: dswij Co-authored-by: Noah Kennedy --- Cargo.toml | 10 ++++------ README.md | 2 ++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bc578af..bd59d0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,13 +5,11 @@ name = "h2-patch" # - Create git tag version = "0.5.7" license = "MIT" -authors = [ - "Carl Lerche ", - "Sean McArthur ", -] +authors = ["0x676e67 "] description = "An HTTP/2 client and server" -documentation = "https://docs.rs/h2" -repository = "/~https://github.com/hyperium/h2" +homepage = "/~https://github.com/crates-patch" +documentation = "https://docs.rs/h2-patch" +repository = "/~https://github.com/crates-patch/h2-patch" readme = "README.md" keywords = ["http", "async", "non-blocking"] categories = ["asynchronous", "web-programming", "network-programming"] diff --git a/README.md b/README.md index f83357d..3e48f90 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # H2 +This project is forked from [hyper](/~https://github.com/hyperium/hyper) + A Tokio aware, HTTP/2 client & server implementation for Rust. [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)