-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement ping-pong
for WebSocket clients
#772
Commits on May 17, 2022
-
ws: Implement ping for
TransportSenderT
traitSigned-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 1162d3e - Browse repository at this point
Copy the full SHA 1162d3eView commit details -
ws/client: Receive pong frames
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 2a76701 - Browse repository at this point
Copy the full SHA 2a76701View commit details -
core/client: Use
select!
macro for the background taskSigned-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 80af45a - Browse repository at this point
Copy the full SHA 80af45aView commit details -
client: Propagate ping interval to background task
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 63ba7e7 - Browse repository at this point
Copy the full SHA 63ba7e7View commit details -
async_client: Submit ping requests
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 0d3534c - Browse repository at this point
Copy the full SHA 0d3534cView commit details -
async_client: Handle pong replies
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 23ad9b9 - Browse repository at this point
Copy the full SHA 23ad9b9View commit details
Commits on May 19, 2022
-
client: Handle frontend messages to dedicated fn
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 48b5db9 - Browse repository at this point
Copy the full SHA 48b5db9View commit details -
client: Handle backend messages in dedicated fn
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for c86b08e - Browse repository at this point
Copy the full SHA c86b08eView commit details -
client: Add terminated fuse for opt-out pings
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for ae5bf75 - Browse repository at this point
Copy the full SHA ae5bf75View commit details -
Set opt-out behavior for client pings
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 0ee78c5 - Browse repository at this point
Copy the full SHA 0ee78c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e82ad1 - Browse repository at this point
Copy the full SHA 8e82ad1View commit details
Commits on May 20, 2022
-
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for e7c6edb - Browse repository at this point
Copy the full SHA e7c6edbView commit details -
client: Handle handle_frontend_messages errors
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 9c5f235 - Browse repository at this point
Copy the full SHA 9c5f235View commit details -
client: Add custom error related to byteslice conversions
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 8e3ff40 - Browse repository at this point
Copy the full SHA 8e3ff40View commit details -
client: Modify
send_ping
to send empty slicesSigned-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 7d39b6f - Browse repository at this point
Copy the full SHA 7d39b6fView commit details -
Fix
cargo hack check
and useselect_biased
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 64a7b99 - Browse repository at this point
Copy the full SHA 64a7b99View commit details -
Handle sending pings with lowest priority
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 1559554 - Browse repository at this point
Copy the full SHA 1559554View commit details -
core: Add proper number of params to
background_task
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 5ba4d0e - Browse repository at this point
Copy the full SHA 5ba4d0eView commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for aed7d26 - Browse repository at this point
Copy the full SHA aed7d26View commit details -
Handle raw bytes and string received messages
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 48d6eec - Browse repository at this point
Copy the full SHA 48d6eecView commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for cda4c09 - Browse repository at this point
Copy the full SHA cda4c09View commit details -
Panic when empty slice does not fit into
ByteSlice125
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 13ee47a - Browse repository at this point
Copy the full SHA 13ee47aView commit details
Commits on May 24, 2022
-
wasm: Add operation not supported for pings
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 6b40519 - Browse repository at this point
Copy the full SHA 6b40519View commit details -
Rename
ReceivedMessage
from Data to TextSigned-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 537627f - Browse repository at this point
Copy the full SHA 537627fView commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 2a2787f - Browse repository at this point
Copy the full SHA 2a2787fView commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for a9bed1e - Browse repository at this point
Copy the full SHA a9bed1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4861c14 - Browse repository at this point
Copy the full SHA 4861c14View commit details
Commits on May 26, 2022
-
client: Use
future::select
for cancel safetySigned-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for fb7ea4d - Browse repository at this point
Copy the full SHA fb7ea4dView commit details -
client: Remove
pong
handling logicSigned-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 736da11 - Browse repository at this point
Copy the full SHA 736da11View commit details -
client: Update ping documentation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for b262442 - Browse repository at this point
Copy the full SHA b262442View commit details
Commits on May 27, 2022
-
Update core/src/client/async_client/mod.rs
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2d6b04c - Browse repository at this point
Copy the full SHA 2d6b04cView commit details -
Update core/src/client/async_client/mod.rs
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 24b5d67 - Browse repository at this point
Copy the full SHA 24b5d67View commit details -
Update core/src/client/async_client/mod.rs
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 839ec65 - Browse repository at this point
Copy the full SHA 839ec65View commit details -
Update core/src/client/async_client/mod.rs
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8a1462a - Browse repository at this point
Copy the full SHA 8a1462aView commit details -
Update core/src/client/async_client/mod.rs
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ba14af9 - Browse repository at this point
Copy the full SHA ba14af9View commit details -
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b79c64f - Browse repository at this point
Copy the full SHA b79c64fView commit details -
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e615af5 - Browse repository at this point
Copy the full SHA e615af5View commit details -
logs: Keep debug log for submitting
Ping
framesSigned-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for baab48f - Browse repository at this point
Copy the full SHA baab48fView commit details -
Print debug logs when receiving
Pong
framesSigned-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 1738722 - Browse repository at this point
Copy the full SHA 1738722View commit details
Commits on Jun 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c661065 - Browse repository at this point
Copy the full SHA c661065View commit details