chore(deps): Bump hyper-util from 0.1.17 to 0.1.18 - #269
Open
dependabot[bot] wants to merge 8 commits into
Open
dependabot[bot] wants to merge 8 commits into
dependabot[bot] wants to merge 8 commits into
Conversation
* Closes #262 Key Changes:** * **Heartbeat Implementation:** * A ping/pong mechanism has been added to detect silent disconnections. * The server now sends pings to the client at regular intervals (`PING_INTERVAL`). * If a pong is not received within a specified timeout (`PING_INTERVAL_TIMEOUT`), the connection is considered lost, and the session is cleaned up. * The client-side `reconnect.js` has been updated to respond to server pings with pongs, ensuring the connection remains active. * **Graceful Shutdown:** * The `server_upgraded_io` function in `websockets.rs` now distinguishes between expected and unexpected client disconnections. * When a client disconnects gracefully (e.g., by closing the browser tab), the server now immediately removes the session from the cache, preventing unnecessary reconnection attempts. * A `DisconnectionSource` enum has been introduced to better manage the state of the WebSocket connection and determine the cause of a disconnection. * **Client-Side Enhancements:** * The `ReconnectingWebSocket` class in `reconnect.js` now includes logic to send pings to the server and handle pong responses, ensuring that the client can also detect and respond to connection issues. * The client now initiates a graceful shutdown by sending a `close` frame with a `Normal` or `Away` code, allowing the server to handle the disconnection appropriately.
Bumps [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite) from 0.27.0 to 0.28.0.
Bumps [hyper-util](https://github.com/hyperium/hyper-util) from 0.1.17 to 0.1.18. - [Release notes](https://github.com/hyperium/hyper-util/releases) - [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md) - [Commits](hyperium/hyper-util@v0.1.17...v0.1.18) --- updated-dependencies: - dependency-name: hyper-util dependency-version: 0.1.18 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps hyper-util from 0.1.17 to 0.1.18.
Release notes
Sourced from hyper-util's releases.
Changelog
Sourced from hyper-util's changelog.
Commits
203c956v0.1.18d91ea8efix(rt): support fake time in legacy client and TokioTimer (#238)dde14d3fix(client): Proxy Matcher to handle proxy auth without password (#241)b9dc3d2chore(ci): update to actions/checkout@v5 (#240)d4f5706ci: fix msrv on windows and macos target (#239)3c8dbe4chore: bump windows-registry to 0.6 (#236)72bbd22perf(client): avoid redundant memory copies of Host header (#235)1c8f7c6docs: replace auto_doc_cfg (#237)66afc93chore(ci): use auto pr ref in rustdoc-preview workflowfaf5ca2chore(ci): fix rustdoc preview workflow typo (#232)You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)