synapse/rust/src
Eric Eastwood 6835e7be0d
Wrap the Rust HTTP client with make_deferred_yieldable (#18903)
Wrap the Rust HTTP client with `make_deferred_yieldable` so downstream
usage doesn't need to use `PreserveLoggingContext()` or
`make_deferred_yieldable`.

> it seems like we should have some wrapper around it that uses
[`make_deferred_yieldable(...)`](40edb10a98/docs/log_contexts.md (where-you-create-a-new-awaitable-make-it-follow-the-rules))
to make things right so we don't have to do this in the downstream code.
>
> *-- @MadLittleMods,
https://github.com/element-hq/synapse/pull/18357#discussion_r2294941827*

Spawning from wanting to [remove `PreserveLoggingContext()` from the
codebase](https://github.com/element-hq/synapse/pull/18870) and thinking
that we [shouldn't have to pollute all downstream usage with
`PreserveLoggingContext()` or
`make_deferred_yieldable`](https://github.com/element-hq/synapse/pull/18357#discussion_r2294941827)

Part of https://github.com/element-hq/synapse/issues/18905 (Remove
`sentinel` logcontext where we log in Synapse)
2025-10-02 13:00:50 -05:00
..
acl Bump pyo3 to v0.23.2 (#17966) 2024-11-27 10:46:00 +00:00
events Allow admins to see policy server-flagged events (#18585) 2025-07-29 19:57:33 +01:00
push Configure Synapse to run MSC4306: Thread Subscriptions Complement tests. (#18819) 2025-09-09 11:40:10 +01:00
rendezvous Fix MSC4108 'rendez-vous' responses with some reverse proxy in the front of Synapse (#18178) 2025-02-25 11:34:33 +01:00
errors.rs Speed up MAS token introspection (#18357) 2025-06-16 16:41:35 +01:00
http_client.rs Wrap the Rust HTTP client with make_deferred_yieldable (#18903) 2025-10-02 13:00:50 -05:00
http.rs Bump pyo3 to v0.23.2 (#17966) 2024-11-27 10:46:00 +00:00
identifier.rs Fix registering of background updates for split main/state db (#18509) 2025-06-25 13:59:18 +01:00
lib.rs Replace PyICU with Rust icu_segmenter crate (#18553) 2025-07-03 11:12:12 +01:00
matrix_const.rs Move server event filtering logic to rust (#17928) 2024-11-14 16:18:24 +00:00
segmenter.rs Replace PyICU with Rust icu_segmenter crate (#18553) 2025-07-03 11:12:12 +01:00