-
-
Notifications
You must be signed in to change notification settings - Fork 314
Comparing changes
Open a pull request
base repository: hyperium/h2
base: v0.3.15
head repository: hyperium/h2
compare: v0.3.17
- 17 commits
- 48 files changed
- 13 contributors
Commits on Oct 29, 2022
-
Fix docs of enable_push (#646)
Remove redundant and misleading phrase in client::Builder::enable_push documentation. Resolves #645
Configuration menu - View commit details
-
Copy full SHA for 294000c - Browse repository at this point
Copy the full SHA 294000cView commit details
Commits on Dec 2, 2022
-
fix issue#648: drop frame if stream is released (#651)
Co-authored-by: p00512853 <pankangtian@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for af47a08 - Browse repository at this point
Copy the full SHA af47a08View commit details
Commits on Dec 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c1ce37e - Browse repository at this point
Copy the full SHA c1ce37eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07d20b1 - Browse repository at this point
Copy the full SHA 07d20b1View commit details
Commits on Jan 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 68e4403 - Browse repository at this point
Copy the full SHA 68e4403View commit details
Commits on Jan 20, 2023
-
Add Protocol extension to Request on Extended CONNECT (#655)
This exposes the :protocol pseudo header as Request extension. Fixes #347
Configuration menu - View commit details
-
Copy full SHA for b84c244 - Browse repository at this point
Copy the full SHA b84c244View commit details
Commits on Feb 13, 2023
-
fix: panic in when there is connection window available, but not stre…
…am (#657) We met the panic in our production environment, so handle this panic condition before panic. The stack backtrace: Co-authored-by: winters.zc <winters.zc@antfin.com>
Configuration menu - View commit details
-
Copy full SHA for 73bea23 - Browse repository at this point
Copy the full SHA 73bea23View commit details
Commits on Feb 20, 2023
-
Avoid spurious wakeups when stream capacity is not available (#661)
Fixes #628 Sometimes `poll_capacity` returns `Ready(Some(0))` - in which case caller will have no way to wait for the stream capacity to become available. The previous attempt on the fix has addressed only a part of the problem. The root cause - in a nutshell - is the race condition between the application tasks that performs stream I/O and the task that serves the underlying HTTP/2 connection. The application thread that is about to send data calls `reserve_capacity/poll_capacity`, is provided with some send capacity and proceeds to `send_data`. Meanwhile the service thread may send some buffered data and/or receive some window updates - either way the stream's effective allocated send capacity may not change, but, since the capacity still available, `send_capacity_inc` flag may be set. The sending task calls `send_data` and uses the entire allocated capacity, leaving the flag set. Next time `poll_capacity` returns `Ready(Some(0))`. This change sets the flag and dispatches the wakeup event only in cases when the effective capacity reported by `poll_capacity` actually increases.
Configuration menu - View commit details
-
Copy full SHA for 7323190 - Browse repository at this point
Copy the full SHA 7323190View commit details
Commits on Feb 22, 2023
-
Add a message for EOF-related broken pipe errors (#615)
It's quite confusing from production logs when all I get is "broken pipe" and I don't know which path was taken for that error to be logged.
Configuration menu - View commit details
-
Copy full SHA for 96caf4f - Browse repository at this point
Copy the full SHA 96caf4fView commit details
Commits on Feb 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b9dcd39 - Browse repository at this point
Copy the full SHA b9dcd39View commit details
Commits on Feb 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 45b9bcc - Browse repository at this point
Copy the full SHA 45b9bccView commit details
Commits on Apr 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d3d50ef - Browse repository at this point
Copy the full SHA d3d50efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 481c31d - Browse repository at this point
Copy the full SHA 481c31dView commit details
Commits on Apr 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8088ca6 - Browse repository at this point
Copy the full SHA 8088ca6View commit details -
fix: limit the amount of pending-accept reset streams
Streams that have been received by the peer, but not accepted by the user, can also receive a RST_STREAM. This is a legitimate pattern: one could send a request and then shortly after, realize it is not needed, sending a CANCEL. However, since those streams are now "closed", they don't count towards the max concurrent streams. So, they will sit in the accept queue, using memory. In most cases, the user is calling `accept` in a loop, and they can accept requests that have been reset fast enough that this isn't an issue in practice. But if the peer is able to flood the network faster than the server accept loop can run (simply accepting, not processing requests; that tends to happen in a separate task), the memory could grow. So, this introduces a maximum count for streams in the pending-accept but remotely-reset state. If the maximum is reached, a GOAWAY frame with the error code of ENHANCE_YOUR_CALM is sent, and the connection marks itself as errored. ref CVE-2023-26964 ref GHSA-f8vr-r385-rh5r Closes hyperium/hyper#2877
Configuration menu - View commit details
-
Copy full SHA for 5bc8e72 - Browse repository at this point
Copy the full SHA 5bc8e72View commit details -
feat: add
max_pending_accept_reset_streams(n)
optionsThe new option is available to both client and server `Builder`s.
Configuration menu - View commit details
-
Copy full SHA for d3f37e9 - Browse repository at this point
Copy the full SHA d3f37e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for af4bcac - Browse repository at this point
Copy the full SHA af4bcacView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.3.15...v0.3.17