1. Aug 28, 2023
  2. Aug 25, 2023
  3. Aug 21, 2023
  4. Aug 18, 2023
  5. Aug 17, 2023
  6. Aug 15, 2023
  7. Aug 14, 2023
  8. Aug 11, 2023
    • Niklas Adolfsson's avatar
      chore: release v0.20.0 (#1180) · f3295400
      Niklas Adolfsson authored
      * chore: release v0.20.0
      
      * Update CHANGELOG.md
      
      * Update CHANGELOG.md
      
      * add links to github profiles in changelog
      v0.20.0
      f3295400
    • Niklas Adolfsson's avatar
      refactor(server): move host filtering to tower middleware (#1179) · 119d3ae1
      Niklas Adolfsson authored
      * refactor: move host filtering to tower middleware
      
      * fix tests
      
      * commit missing file
      
      * fix match on authority
      
      * add some tests for authority
      
      * grumbles: Arc<WhitelistedHosts>
      
      * grumbles: split host filter code
      
      * add example for host filter middleware
      
      * Update examples/examples/host_filter_middleware.rs
      
      * url.rs -> middleware/authority.rs
      119d3ae1
  9. Aug 10, 2023
  10. Aug 09, 2023
    • Niklas Adolfsson's avatar
      refactor(client): support default port number (#1172) · ad9dab3a
      Niklas Adolfsson authored
      * refactor(client): support default port number
      
      * fix nits
      
      * Update client/transport/src/ws/mod.rs
      
      * fix more nits
      ad9dab3a
    • Niklas Adolfsson's avatar
      refactor: server host filtering (#1174) · 38193f0e
      Niklas Adolfsson authored
      * refactor: server host filtering
      
      Cleans up the host filtering by allowing `ipv6 addresses`, fixes a bug when
      host filtering with `*` is configured when a request is missing the default port.
      
      In addition the API on the server is stricter and hosts filtering with invalid
      authorities are now rejected which wasn't the case before.
      
      * fix some nits
      
      * fix build again
      
      * allow requests with/without default port
      
      * switch to `route_recognizer` for URL recognition
      
      * remove weird From impl
      
      * Update core/src/server/host_filtering.rs
      
      * Update tests/tests/integration_tests.rs
      
      * refactor host filter API
      
      * address grumbles
      
      * fix clippy
      
      * host filter: switch to TryFrom
      
      * Update server/src/server.rs
      
      * Update server/src/server.rs
      38193f0e
  11. Aug 08, 2023
  12. Aug 03, 2023
    • Niklas Adolfsson's avatar
      refactor(async client): refactor background task (#1145) · 54f4dcdf
      Niklas Adolfsson authored
      * refactor(async client): refactor background task
      
      Split send and receive to separate tasks to support multiplexing reads/writes
      
      * fix tests
      
      * dont rely on tokio::spawn handles anymore
      
      * fix build
      
      * fix build again
      
      * switch to std::sync::Mutex
      
      * fix tests again
      
      * bench stuff
      
      * don't block in read task
      
      * fix build
      
      * fix nits
      
      * works now
      
      * revert bench code
      
      * replace unreachable with None
      
      * Revert "replace unreachable with None"
      
      This reverts commit 49edaeef.
      
      * fix nits
      
      * use dashmap instead of Arc<Mutex<RequestManager>
      
      * Revert "use dashmap instead of Arc<Mutex<RequestManager>"
      
      This reverts commit d73aeeb6.
      
      * refactor select loops prio for closed futs
      
      * grumbles: save waker to wake when new items are pushed
      
      * fix build
      
      * fix build again
      
      * fix some nits
      54f4dcdf
  13. Aug 02, 2023
  14. Jul 31, 2023
  15. Jul 22, 2023
  16. Jul 21, 2023
  17. Jul 20, 2023
  18. Jul 19, 2023
  19. Jul 15, 2023
  20. Jul 13, 2023
  21. Jul 06, 2023
  22. Jun 20, 2023
  23. Jun 13, 2023
  24. Jun 02, 2023
    • Niklas Adolfsson's avatar
      fix: include error code in RpcLogger (#1135) · 78c85e8b
      Niklas Adolfsson authored
      * fix: include error code in RpcLogger + fix bug
      
      * fix: include error code in RpcLogger + fix bug
      
      * nits
      
      * fix: use error code from error_obj
      
      * Update core/src/server/helpers.rs
      
      * fix: use error code from error_obj
      
      * fix clippy
      78c85e8b
  25. May 28, 2023
  26. May 23, 2023
  27. May 20, 2023
  28. May 18, 2023
    • Niklas Adolfsson's avatar
      fix(server): remove `MethodSinkPermit` to fix backpressure issue on concurrent... · 7b435001
      Niklas Adolfsson authored
      
      fix(server): remove `MethodSinkPermit` to fix backpressure issue on concurrent subscriptions (#1126)
      
      * fix(server): don't use `Permit` for responses
      
      After a method call has been received, this PR doesn't keep the `Permit`
      anymore and requires each response to await for a slot in the mpsc buffer.
      
      This is especially important for subscriptions which previously
      two slots were unintentionally required because the server kept one around until
      the subscription was "accepted" and the subscription itself waited for a slot.
      
      If many concurrent subscriptions were received "concurrently" and "filled" the buffer
      no subscription could make progress.
      
      * cleanup code
      
      * Update server/src/transport/ws.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * Update core/src/server/helpers.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * cargo fmt
      
      ---------
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      7b435001