Remove many implicit flushing behaviours. In general reading and writing messages will no
longer flush until calling flush. An exception is automatic responses (e.g. pongs)
which will continue to be written and flushed when reading and writing.
This allows writing a batch of messages and flushing once, improving performance.
Add FrameSocket::read, write, send, flush. Remove read_frame, write_frame, write_pending.
Note: Previous use of write_frame may be replaced with send.
Add WebSocketContext::read, write, flush. Remove read_message, write_message, write_pending.
Note: Previous use of write_message may be replaced with write + flush.
Remove send_queue, replaced with using the frame write buffer to achieve similar results.
Add Error::WriteBufferFull. Remove Error::SendQueueFull.
Note: WriteBufferFull returns the message that could not be written as a Message::Frame.
Add ability to buffer multiple writes before writing to the underlying stream, controlled by
WebSocketConfig::write_buffer_size (default 128 KiB). Improves batch message write performance.
Panic on receiving invalid WebSocketConfig.
Commits
219075e Merge pull request #379 from snapview/CVE-2023-43669
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/AISViz/aisdb-client/network/alerts).
Bumps the cargo group with 1 update in the /receiver directory: tungstenite.
Updates
tungstenite
from 0.19.0 to 0.20.1Changelog
Sourced from tungstenite's changelog.
Commits
219075e
Merge pull request #379 from snapview/CVE-2023-43669f0f1a06
Bump crate version2e50292
Add checking for header sanityf916b33
AddAttackAttempt
error variant53914c1
Include examples so thatcargo publish
works5323559
Bump version6e63b17
Update changelogf2ed7aa
Merge pull request #365 from snapview/dependabot/cargo/webpki-roots-0.248d8f0da
Merge pull request #362 from alexheretic/config-assertsdac07ea
Merge pull request #361 from alexheretic/docs++Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show