- 18 Jun, 2022 1 commit
-
-
Niklas Adolfsson authored
-
- 15 Jun, 2022 2 commits
-
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
- 14 Jun, 2022 1 commit
-
-
Niklas Adolfsson authored
* chore(release): v0.14.0 * Update CHANGELOG.md * Update CHANGELOG.md
-
- 13 Jun, 2022 4 commits
-
-
Niklas Adolfsson authored
* fix(servers): more descriptive errors calls fail Closing #775 * fix tests * rename constants * address grumbles
-
Niklas Adolfsson authored
* initial rewrite to re-use HTTP access control * clean things up * Update core/src/error.rs * Update core/src/error.rs * allow origin: add back removed Display impl * cleanup again * Update http-server/src/lib.rs * Update examples/examples/cors_server.rs * Update core/src/server/access_control/mod.rs Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com> * Update http-server/src/server.rs Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com> * fix bad comment * remove todo * fix grumbles * more grumbles * rename and document a bit * remove `Access-Control-Allow-Origin` in whitelist * fix nit: pub(super) * fix bad naming Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com>
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
- 03 Jun, 2022 1 commit
-
-
Alexandru Vasile authored
* ws-server: Submit ping regardless of WS messages Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * use tokio_stream::IntervalStream for less boxing Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com>
-
- 01 Jun, 2022 2 commits
-
-
Alexandru Vasile authored
* ws: Implement ping for `TransportSenderT` trait Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * ws/client: Receive pong frames Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * core/client: Use `select!` macro for the background task Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Propagate ping interval to background task Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * async_client: Submit ping requests Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * async_client: Handle pong replies Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Handle frontend messages to dedicated fn Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Handle backend messages in dedicated fn Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Add terminated fuse for opt-out pings Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Set opt-out behavior for client pings Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Move imports Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Handle handle_frontend_messages errors Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Add custom error related to byteslice conversions Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Modify `send_ping` to send empty slices Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Fix `cargo hack check` and use `select_biased` Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Handle sending pings with lowest priority Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * core: Add proper number of params to `background_task` Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Fix wasm client Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Handle raw bytes and string received messages Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Fix Cargo.toml feature Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Panic when empty slice does not fit into `ByteSlice125` Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * wasm: Add operation not supported for pings Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Rename `ReceivedMessage` from Data to Text Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Rename test variable Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Add documentation Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Use `future::select` for cancel safety Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Remove `pong` handling logic Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * client: Update ping documentation Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Update core/src/client/async_client/mod.rs Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com> * Update core/src/client/async_client/mod.rs Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com> * Update core/src/client/async_client/mod.rs Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com> * Update core/src/client/async_client/mod.rs Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com> * Update core/src/client/async_client/mod.rs Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com> * Update core/Cargo.toml Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com> * Update core/Cargo.toml Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com> * logs: Keep debug log for submitting `Ping` frames Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Print debug logs when receiving `Pong` frames Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Update core/src/client/async_client/mod.rs Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com> Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com>
-
Niklas Adolfsson authored
* fix(http server): omit jsonrpc details health API Closing https://github.com/paritytech/jsonrpsee/issues/784 Ordinary GET requests doesn't expect the body the be formatted as `JSON-RPC` responses which this fixes. * address grumbles * Update http-server/src/server.rs * cargo fmt
-
- 27 May, 2022 1 commit
-
-
Alexandru Vasile authored
* ws-server: Implement `ping-ping` Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * ws-server: Set builder's ping_interval Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * ws-server: Handle just `ping` frames Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * ws-server: Simplify `select` Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Use `futures_util::select` instead of `select!` macro Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * ws-server: Avoid pinning the delay Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * ws-server: Log when a `Pong` frame is received Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * ws-server: Use tokio for submitting pings Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io>
-
- 25 May, 2022 1 commit
-
-
Alexander Polakov authored
-
- 23 May, 2022 2 commits
-
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/v1/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/v1.3.0...v1.4.0 ) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.0.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3.0.2 ) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 20 May, 2022 1 commit
-
-
Niklas Adolfsson authored
* ci: bring back daily benchmarks * remove ugly spaces
-
- 19 May, 2022 1 commit
-
-
Niklas Adolfsson authored
-
- 13 May, 2022 3 commits
-
-
Alexandru Vasile authored
* Move examples under dedicated folder to simplify `Cargo.toml` Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Fix readme links for examples Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io> * Fix deadlinks Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io>
-
Niklas Adolfsson authored
* chore(release): v0.13.1 * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by:
Tarik Gul <47201679+TarikGul@users.noreply.github.com>
-
Niklas Adolfsson authored
* fix: generate docs for all features * ci: check for --cfg docsrs * fix nit: rustdoc::broken_intra_doc_links
-
- 11 May, 2022 4 commits
-
-
dependabot[bot] authored
Updates the requirements on [pprof](https://github.com/tikv/pprof-rs) to permit the latest version. - [Release notes](https://github.com/tikv/pprof-rs/releases) - [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/tikv/pprof-rs/commits ) --- updated-dependencies: - dependency-name: pprof dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Niklas Adolfsson authored
* chore(release): v0.13.0 * Update CHANGELOG.md
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
* feat: add http health API * Update http-server/src/server.rs * remove needless change * fix middleware nits
-
- 06 May, 2022 3 commits
-
-
James Wilson authored
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
* fix: generate docs behind features * address grumbles
-
- 04 May, 2022 1 commit
-
-
Igor Aleksanov authored
-
- 03 May, 2022 2 commits
-
-
Niklas Adolfsson authored
* feat: limit the number of subscriptions Closing #729 * fix nit * Update core/src/server/helpers.rs * add integration tests + some fixes so it works * cargo fmt * fix doc links * Unsubscribe calls should avoid subscription limits Point to Tokio 1.16 (we use a method from it), and a little special treatment for unsubscribe methods * No resource limiting for Unsubscribe calls * Test that we can still unsubscribe after hitting a limit * Fix a comment typo Co-authored-by:
Alexandru Vasile <60601340+lexnv@users.noreply.github.com> * Update core/src/server/rpc_module.rs * Update core/src/server/rpc_module.rs Co-authored-by:
James Wilson <james@jsdw.me> Co-authored-by:
Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
-
Niklas Adolfsson authored
* fix: use https conn for https * enable integration tests for https and wss * remove socket options of http client
-
- 29 Apr, 2022 2 commits
-
-
Niklas Adolfsson authored
fix(rpc module): close subscription task when a subscription is `unsubscribed` via the `unsubscribe call` (#743) * refactor: remove SubscriptionSink::inner_send * fix: close running task if unsubscribed * Update core/src/server/rpc_module.rs * Update core/src/server/rpc_module.rs * fix nits * Update core/src/server/rpc_module.rs * add test for canceling subscriptions * print subscription info; once per minute * revert closure stuff * Revert "print subscription info; once per minute" This reverts commit 366176a8 . * use tokio::sync::watch instead of oneshot The receiver is clonable and it's possible to check whether the sender is still alive * Update tests/tests/helpers.rs Co-authored-by:
David <dvdplm@gmail.com> * Update core/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> * grumbles: use unwrap in tests * add test for reuse pipe_from_stream Co-authored-by:
David <dvdplm@gmail.com>
-
Sergejs Kostjucenko authored
-
- 21 Apr, 2022 3 commits
-
-
dependabot[bot] authored
Updates the requirements on [pprof](https://github.com/tikv/pprof-rs) to permit the latest version. - [Release notes](https://github.com/tikv/pprof-rs/releases) - [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/tikv/pprof-rs/commits ) --- updated-dependencies: - dependency-name: pprof dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Updates the requirements on [gloo-net](https://github.com/rustwasm/gloo) to permit the latest version. - [Release notes](https://github.com/rustwasm/gloo/releases) - [Commits](https://github.com/rustwasm/gloo/commits/0.2.0 ) --- updated-dependencies: - dependency-name: gloo-net dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Niklas Adolfsson authored
* chore(release): v0.11.0 * remove unused deps * docs: rephrase bad english * Update CHANGELOG.md * update publish script * Update CHANGELOG.md Co-authored-by:
David <dvdplm@gmail.com> * Update CHANGELOG.md Co-authored-by:
David <dvdplm@gmail.com> * Update CHANGELOG.md Co-authored-by:
David <dvdplm@gmail.com> Co-authored-by:
David <dvdplm@gmail.com>
-
- 20 Apr, 2022 2 commits
-
-
Niklas Adolfsson authored
* feat: untested web-sys transport * rewrite me * make it work * add hacks and works :) * add subscription test too * revert StdError change; still works * cleanup * remove hacks * more wasm tests outside workspace * kill mutually exclusive features * merge nits * remove unsafe hack * fix nit * core: fix features and deps * ci: add WASM test * test again * work work * comeon * work work * revert unintentional change * Update core/Cargo.toml Co-authored-by:
David <dvdplm@gmail.com> * Update core/src/client/async_client/mod.rs Co-authored-by:
David <dvdplm@gmail.com> * revert needless change: std hashmap + fxhashmap works * cleanup * extract try_connect_until fn * remove todo * fix bad merge * add wasm client wrapper crate * fix nits * use gloo-net dependency * fix build * grumbles CI: rename to `wasm_tests` * fix bad merge * fix grumbles * fix nit * comeon CI Co-authored-by:
David <dvdplm@gmail.com>
-
Niklas Adolfsson authored
* fix(rpc module): fail subscription with bad params * draft; show my point * fix tests * fix build * add tests for proc macros too * add tests for bad params in proc macros * fix nits * commit all files * add ugly fix for proc macro code * add more user friendly API * make SubscriptionSink::close take mut self * fix grumbles * show james some code * Update core/src/server/rpc_module.rs Co-authored-by:
James Wilson <james@jsdw.me> * remove needless clone * fix build * client fix docs + error type * simplify code: merge connect reset and unsubscribe close reason * remove unknown close reason * refactor: remove Error::SubscriptionClosed * add some nice APIs to ErrorObjectOwned * unify api * address grumbles * remove redundant methods for close and reject * proc macro: compile err when subscription -> Result * rpc module: fix test subscription test * Update core/src/server/rpc_module.rs Co-authored-by:
James Wilson <james@jsdw.me> * Update core/src/server/rpc_module.rs Co-authored-by:
James Wilson <james@jsdw.me> * Update core/src/server/rpc_module.rs Co-authored-by:
James Wilson <james@jsdw.me> * Update core/src/server/rpc_module.rs Co-authored-by:
James Wilson <james@jsdw.me> * Update core/src/server/rpc_module.rs Co-authored-by:
James Wilson <james@jsdw.me> * Update proc-macros/src/lib.rs Co-authored-by:
James Wilson <james@jsdw.me> * address grumbles * remove faulty comment * Update core/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> * Update core/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> * Update core/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> * Update core/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> * Update core/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> * fix: don't send `RPC Call failed: error`. * remove debug assert Co-authored-by:
James Wilson <james@jsdw.me> Co-authored-by:
David <dvdplm@gmail.com>
-
- 12 Apr, 2022 1 commit
-
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/v1/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/v1.3.0...v1.4.0 ) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 05 Apr, 2022 2 commits
-
-
Niklas Adolfsson authored
* refactor(log): downgrade send errors to warn These logs are most likely related to that the client terminated the connection and they come with significant overhead. * chore(release): v0.10.1
-
Niklas Adolfsson authored
These logs are most likely related to that the client terminated the connection and they come with significant overhead.
-