You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***rt:** add `Timer::now()` method to allow overriding the instant returned (#3965) ([5509ebe6](https://github.com/hyperium/hyper/commit/5509ebe6156e32d4f8986fafa25c2918a30005be))
13
+
14
+
15
+
#### Breaking Changes
16
+
17
+
* The HTTP/2 client connection no longer allows an executor
18
+
that can not spawn itself.
19
+
20
+
This was an oversight originally. The client connection will now include spawning
21
+
a future that keeps a copy of the executor to spawn other futures. Thus, if it is
22
+
`!Send`, it needs to spawn `!Send` futures. The likelihood of executors that match
23
+
the previously allowed behavior should be very remote.
24
+
25
+
There is also technically a semver break in here, which is that the
26
+
`Http2ClientConnExec` trait no longer dyn-compatible, because it now expects to
27
+
be `Clone`. This should not break usage of the `conn` builder, because it already
28
+
separately had `E: Clone` bounds. If someone were using `dyn Http2ClientConnExec`,
29
+
that will break. However, there is no purpose for doing so, and it is not usable
30
+
otherwise, since the trait only exists to propagate bounds into hyper. Thus, the
0 commit comments